p5.js-web-editor/index.js
2016-11-08 18:11:12 -05:00

8 lines
No EOL
339 B
JavaScript

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'));
}
require('babel-register');
require('babel-polyfill');
require('dotenv').config();
require('./server/server');