aboutsummaryrefslogtreecommitdiff
path: root/vnext/webpack.config.js
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-03-02 12:01:38 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:52 +0300
commitf41a90e6a3fd3f3a9b73ac74950f25ebd8252e9c (patch)
tree390e9d766fb1caaeee0a1351a3884b8f1b005544 /vnext/webpack.config.js
parenta92b5cc6e633825c9addf8383152b9d877bfe4db (diff)
cleanup webpack and webpack-dev-server configs
Diffstat (limited to 'vnext/webpack.config.js')
-rw-r--r--vnext/webpack.config.js9
1 files changed, 1 insertions, 8 deletions
diff --git a/vnext/webpack.config.js b/vnext/webpack.config.js
index 89366a2a..f64e5749 100644
--- a/vnext/webpack.config.js
+++ b/vnext/webpack.config.js
@@ -1,20 +1,13 @@
var webpack = require("webpack");
module.exports = {
- devtool: 'eval',
entry: {
"vendor": ['react', 'react-dom', 'react-markdown', 'whatwg-fetch'],
"app": [
'file-loader?name=index.html!./src/views/index.html',
__dirname + "/src/app.js",
- __dirname + "/src/style/main.css",
- 'webpack-dev-server/client?http://localhost:3000',
- 'webpack/hot/only-dev-server'
+ __dirname + "/src/style/main.css"
]
},
- output: {
- path: __dirname + "/public",
- filename: "[name].js"
- },
module: {
rules: [
{ test: /\.css$/, loader: "style-loader!css-loader" },