Update to webpack 4 + misc build process changes

This commit is contained in:
hensm
2018-11-13 21:51:09 +00:00
parent f23e1f68c2
commit c63531cdce
12 changed files with 3669 additions and 3332 deletions

21
app/bin/start-debug.js Normal file
View File

@@ -0,0 +1,21 @@
require('@babel/register')({
presets: [
[
"@babel/preset-env"
, {
targets: {
node: "current"
}
}
]
]
, plugins: [
"@babel/plugin-transform-runtime"
, "@babel/plugin-syntax-dynamic-import"
, "@babel/plugin-syntax-import-meta"
, "@babel/plugin-proposal-class-properties"
, "@babel/plugin-proposal-json-strings"
]
});
require('../src/js/main');