diff --git a/package.json b/package.json index 14a85bb..9397983 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "nginx-proxy-manager", - "version": "2.0.3", + "version": "2.0.4", "description": "A beautiful interface for creating Nginx endpoints", "main": "src/backend/index.js", "devDependencies": { @@ -30,8 +30,8 @@ "style-loader": "^0.22.1", "tabler-ui": "git+https://github.com/tabler/tabler.git", "underscore": "^1.8.3", - "webpack": "^4.12.0", - "webpack-cli": "^3.0.8", + "webpack": "^4.25.1", + "webpack-cli": "^3.1.2", "webpack-visualizer-plugin": "^0.1.11" }, "dependencies": { diff --git a/src/backend/views/index.ejs b/src/backend/views/index.ejs index ce58fd4..a8b8da3 100644 --- a/src/backend/views/index.ejs +++ b/src/backend/views/index.ejs @@ -5,5 +5,5 @@ - + <%- include partials/footer.ejs %> diff --git a/src/backend/views/login.ejs b/src/backend/views/login.ejs index d3bec11..384ece0 100644 --- a/src/backend/views/login.ejs +++ b/src/backend/views/login.ejs @@ -5,5 +5,5 @@ - + <%- include partials/footer.ejs %> diff --git a/webpack.config.js b/webpack.config.js index 6e7a6a1..011290f 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -10,9 +10,10 @@ module.exports = { login: './src/frontend/js/login.js' }, output: { - path: path.resolve(__dirname, 'dist'), - filename: 'js/[name].js', - publicPath: '/' + path: path.resolve(__dirname, 'dist'), + filename: 'js/[name].bundle.js', + chunkFilename: 'js/[name].bundle.[id].js', + publicPath: '/' }, resolve: { alias: { @@ -108,10 +109,6 @@ module.exports = { to: 'images', toType: 'dir', context: '/app' - }]), - new webpack.optimize.LimitChunkCountPlugin({ - maxChunks: 1, // Must be greater than or equal to one - minChunkSize: 999999999 - }) + }]) ] };