p5.js-web-editor/server/scripts/fetch-examples-ml5.js
Cassie Tarakajian 18f646bde9
for , update babel to v7 ()
* for , upgrade babel to v7

* fix linting errors

* for , remove @babel/core from devDependencies (so it's only in dependencies) and change babel-loader config to use .babelrc

* for , changes to .babelrc to make  work

* for , include core-js modules in webpack config for IE support with babel/plugin-syntax-dynamic-import

* for , update babel and associated packages to LTS
2019-06-05 12:05:31 -04:00

8 lines
188 B
JavaScript

require('@babel/register');
require('@babel/polyfill');
const dotenv = require('dotenv');
if (process.env.NODE_ENV === 'development') {
dotenv.config();
}
require('./examples-ml5.js');