18f646bde9
* for #950, upgrade babel to v7 * fix linting errors * for #950, remove @babel/core from devDependencies (so it's only in dependencies) and change babel-loader config to use .babelrc * for #950, changes to .babelrc to make work * for #950, include core-js modules in webpack config for IE support with babel/plugin-syntax-dynamic-import * for #950, update babel and associated packages to LTS
8 lines
184 B
JavaScript
8 lines
184 B
JavaScript
require('@babel/register');
|
|
require('@babel/polyfill');
|
|
const dotenv = require('dotenv');
|
|
|
|
if (process.env.NODE_ENV === 'development') {
|
|
dotenv.config();
|
|
}
|
|
require('./examples.js');
|