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 04:09:16 +00:00
require('babel-register');
require('babel-polyfill');
2016-06-09 17:56:23 +00:00
require('dotenv').config();
2016-05-03 04:09:16 +00:00
require('./server/server');