Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit ce2e3fd

Browse files
Cleanup useless comments in webpack.config.js.
1 parent 1d44d52 commit ce2e3fd

File tree

1 file changed

+6
-23
lines changed

1 file changed

+6
-23
lines changed

‎webpack.config.js‎

Lines changed: 6 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,16 @@
1-
const webpack = require('webpack');
2-
const path = require('path');
3-
4-
/*
5-
* We've enabled UglifyJSPlugin for you! This minifies your app
6-
* in order to load faster and run less javascript.
7-
*
8-
* https://github.com/webpack-contrib/uglifyjs-webpack-plugin
9-
*
10-
*/
11-
12-
const UglifyJSPlugin = require('uglifyjs-webpack-plugin');
1+
const webpack = require("webpack");
2+
const path = require("path");
3+
const UglifyJSPlugin = require("uglifyjs-webpack-plugin");
134

145
module.exports = {
156
mode: "development",
167
stats: { performance: false },
178

18-
entry: './src/__javascript__/index.js',
9+
entry: "./src/__javascript__/index.js",
1910

2011
output: {
21-
filename: 'bundle.js',
22-
path: path.resolve(__dirname, 'dist')
12+
filename: "bundle.js",
13+
path: path.resolve(__dirname, "dist")
2314
},
2415

2516
module: {
@@ -31,14 +22,6 @@ module.exports = {
3122
compress: true,
3223
host: "localhost",
3324
port: 3000
34-
// proxy: {
35-
// "/api": {
36-
// target: 'http://metamarcdw.pythonanywhere.com',
37-
// pathRewrite: { '^/api': '' },
38-
// changeOrigin: true,
39-
// secure: false
40-
// }
41-
// }
4225
},
4326

4427
plugins: [new UglifyJSPlugin()]

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /