dyna-ts-react-module-boilerplate
Advanced tools
Comparing version 16.7.22 to 16.7.23
@@ -806,3 +806,3 @@ (function webpackUniversalModuleDefinition(root, factory) { | ||
for (var p in b) { | ||
if (b.hasOwnProperty(p)) d[p] = b[p]; | ||
if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; | ||
} | ||
@@ -943,2 +943,3 @@ }; | ||
}); | ||
exports.ESize = exports.EColor = exports.EStyle = exports.Button = void 0; | ||
@@ -945,0 +946,0 @@ var Button_1 = __webpack_require__(/*! ./Button */ "./src/Button.tsx"); |
{ | ||
"name": "dyna-ts-react-module-boilerplate", | ||
"version": "16.7.22", | ||
"version": "16.7.23", | ||
"description": "About", | ||
@@ -16,7 +16,7 @@ "repository": { | ||
"check-deps": "yarn install --check-files", | ||
"start": "webpack-dev-server --config webpack.dev.config.js --devtool eval --progress --inline --hot --content-base dev/public --open --host 127.0.0.1 --port 3200 ", | ||
"start-at": "webpack-dev-serven check-depsr --config webpack.dev.config.js --devtool eval --progress --inline --hot --content-base dev/public --open --host 127.0.0.1 --port", | ||
"start": "webpack-dev-server --config webpack.dev.config.js --devtool eval --progress --inline --hot --content-base dev/public --open --host localhost --port 3200 ", | ||
"start-at": "webpack-dev-server --config webpack.dev.config.js --devtool eval --progress --inline --hot --content-base dev/public --open --host localhost --port", | ||
"lint": "tslint './src/**/*.ts*' --format stylish --force", | ||
"build-analyze": "set NODE_ENV=production && webpack --config webpack.dist.analyze.config.js", | ||
"build": "rimraf ./dist/ && yarn run .build-index.d.ts && yarn run .build-dist", | ||
"build": "rm -rf ./dist/ && yarn run .build-index.d.ts && yarn run .build-dist", | ||
"build-watch": "webpack --watch --config webpack.dist.config.js", | ||
@@ -66,2 +66,3 @@ ".build-index.d.ts": "tsc && rm ./dist/index.js && yarn run .build-index.d.ts-clear", | ||
"circular-dependency-plugin": "^4.0.0", | ||
"clean-webpack-plugin": "^3.0.0", | ||
"css-loader": "^1.0.1", | ||
@@ -75,3 +76,3 @@ "dyna-guid": "^1.0.10", | ||
"file-loader": "^2.0.0", | ||
"html-webpack-plugin": "^3.2.0", | ||
"html-webpack-plugin": "^4.5.0", | ||
"identity-obj-proxy": "^3.0.0", | ||
@@ -93,3 +94,2 @@ "image-webpack-loader": "^4.5.0", | ||
"react-test-renderer": "^16.6.1", | ||
"rimraf": "^2.6.1", | ||
"sass-loader": "^7.1.0", | ||
@@ -101,3 +101,3 @@ "source-map-loader": "0.1.5", | ||
"tslint": "^6.1.3", | ||
"typescript": "^3.1.6", | ||
"typescript": "^4.0.5", | ||
"typings-for-css-modules-loader": "^1.7.0", | ||
@@ -145,4 +145,4 @@ "uglifyjs-webpack-plugin": "^2.0.1", | ||
"dyna": { | ||
"changeId": "1f833a6c-1dbb759f-9877717844184760" | ||
"changeId": "1dgdhb08-20505531-3841609955184760" | ||
} | ||
} |
@@ -5,2 +5,4 @@ // help: http://webpack.github.io/docs/configuration.html | ||
const webpack = require('webpack'); | ||
const HtmlWebpackPlugin = require('html-webpack-plugin'); | ||
const { CleanWebpackPlugin } = require('clean-webpack-plugin'); | ||
@@ -16,2 +18,3 @@ const loaders = require('./webpack.loaders'); | ||
const config = { | ||
target: "web", | ||
mode: "development", | ||
@@ -30,5 +33,25 @@ entry: [ | ||
hot: true, | ||
host: 'localhost', | ||
port: serverPort, | ||
publicPath: '/static', | ||
historyApiFallback: true, | ||
proxy: { | ||
'/api': { | ||
target: 'http://localhost:3222', | ||
secure: false | ||
}, | ||
}, | ||
watchOptions: { | ||
poll: true, | ||
ignored: /node_modules/, | ||
}, | ||
stats: { | ||
colors: true, | ||
assets: true, | ||
version: false, | ||
hash: false, | ||
timings: true, | ||
chunks: false, | ||
chunkModules: false, | ||
}, | ||
}, | ||
@@ -53,4 +76,6 @@ output: { | ||
plugins: [ | ||
new webpack.HotModuleReplacementPlugin(), // enable HMR globally | ||
new webpack.NamedModulesPlugin(), // prints more readable module names in the browser console on HMR updates | ||
new CleanWebpackPlugin(), | ||
new HtmlWebpackPlugin({title: 'Hot Module Replacement'}), | ||
// new webpack.HotModuleReplacementPlugin(), // enable HMR globally | ||
new webpack.NamedModulesPlugin(), // prints more readable module names in the browser console on HMR updates | ||
].concat(plugins.plugins), | ||
@@ -57,0 +82,0 @@ }; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
118398
1782