package build

This commit is contained in:
Jeff Colombo 2019-03-17 21:13:16 -04:00
parent dc855f76aa
commit 0788dd7109
7 changed files with 42 additions and 58523 deletions

721
dist/app.css vendored

File diff suppressed because one or more lines are too long

10017
dist/global-bundle.js vendored

File diff suppressed because one or more lines are too long

6528
dist/global.css vendored

File diff suppressed because one or more lines are too long

41283
dist/main-bundle.js vendored

File diff suppressed because one or more lines are too long

View File

@ -3,10 +3,10 @@
"scripts": { "scripts": {
"#": "DO NOT ADD '-d' OPTION TO WEBPACK OR ALL SOURCEMAPS WILL BREAK: https://webpack.js.org/api/cli/#shortcuts", "#": "DO NOT ADD '-d' OPTION TO WEBPACK OR ALL SOURCEMAPS WILL BREAK: https://webpack.js.org/api/cli/#shortcuts",
"lint": "tslint --project tslint.json", "lint": "tslint --project tslint.json",
"package": "yarn build -- --config webpack.config.prod.js --bail --display-used-exports -p", "package": "yarn build --config webpack.config.prod.js --bail --display-used-exports -p",
"package-for-test": "yarn build -- --config webpack.config.test.js --bail --display-used-exports", "package-for-test": "yarn build --config webpack.config.test.js --bail --display-used-exports",
"start": "webpack-dev-server --progress --inline --colors --port 8000 --env.WARN_ON_LINT", "start": "webpack-dev-server --config webpack.config.js --progress --colors --port 8000 --env.WARN_ON_LINT",
"watch": "yarn build -- --config webpack.config.js --colors --debug --output-pathinfo --progress --watch --env.WARN_ON_LINT", "watch": "yarn build --config webpack.config.js --colors --debug --output-pathinfo --progress --watch --env.WARN_ON_LINT",
"build": "node ./node_modules/webpack/bin/webpack.js --cache=true --display-error-details --profile", "build": "node ./node_modules/webpack/bin/webpack.js --cache=true --display-error-details --profile",
"clean": "rm -rf ./dist/*", "clean": "rm -rf ./dist/*",
"tsnode": "node -r ts-node/register -r tsconfig-paths/register" "tsnode": "node -r ts-node/register -r tsconfig-paths/register"

View File

@ -35,8 +35,8 @@ module.exports = function (env) {
devServer: { devServer: {
contentBase: __dirname, contentBase: __dirname,
historyApiFallback: true, historyApiFallback: true,
// writeToDisk: true, writeToDisk: true,
// hot: false, hot: false,
}, },
entry: { entry: {
'global': [ 'global': [

View File

@ -11,7 +11,7 @@ module.exports.getOptimizations = function () {
cacheGroups: { cacheGroups: {
commons: { commons: {
name: 'commons', name: 'commons',
filename: 'js/commons-bundle.js', filename: 'commons-bundle.js',
chunks: 'initial', chunks: 'initial',
// (the filename of the commons chunk) // (the filename of the commons chunk)
minChunks: 2, minChunks: 2,