p5.js-web-editor/index.js

8 lines
339 B
JavaScript
Raw Normal View History

if (process.env.NODE_ENV === 'production') {
process.env.webpackAssets = JSON.stringify(require('./static/dist/manifest.json'));
process.env.webpackChunkAssets = JSON.stringify(require('./static/dist/chunk-manifest.json'));
}
2016-05-03 06:09:16 +02:00
require('babel-register');
require('babel-polyfill');
2016-06-09 19:56:23 +02:00
require('dotenv').config();
2016-05-03 06:09:16 +02:00
require('./server/server');