diff --git a/app/index.html b/app/index.html deleted file mode 100644 index dcee495df..000000000 --- a/app/index.html +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - Soapbox - - - - - -
- - - diff --git a/public/index.html b/public/index.html new file mode 100644 index 000000000..cdafb4547 --- /dev/null +++ b/public/index.html @@ -0,0 +1,18 @@ + + + + + + Soapbox + + + + + + + + + +
+ + diff --git a/webpack/development.js b/webpack/development.js index 21dd0c709..44d9230a4 100644 --- a/webpack/development.js +++ b/webpack/development.js @@ -1,6 +1,6 @@ // Note: You must restart bin/webpack-dev-server for changes to take effect -const { resolve } = require('path'); +const { resolve, join } = require('path'); const merge = require('webpack-merge'); const sharedConfig = require('./shared'); const { settings, output } = require('./configuration'); @@ -60,11 +60,4 @@ module.exports = merge(sharedConfig, { ), serveIndex: true, }, - - plugins: [ - // https://github.com/ampedandwired/html-webpack-plugin - new HtmlWebpackPlugin({ - inject: true - }) - ], }); diff --git a/webpack/shared.js b/webpack/shared.js index cb4e5a85f..bc6091247 100644 --- a/webpack/shared.js +++ b/webpack/shared.js @@ -34,9 +34,9 @@ module.exports = { ), output: { - filename: 'js/[name]-[chunkhash].js', - chunkFilename: 'js/[name]-[chunkhash].chunk.js', - hotUpdateChunkFilename: 'js/[id]-[hash].hot-update.js', + filename: 'js/[name].js', + chunkFilename: 'js/[name].chunk.js', + hotUpdateChunkFilename: 'js/[id].hot-update.js', path: output.path, publicPath: output.publicPath, }, @@ -75,8 +75,8 @@ module.exports = { } ), new MiniCssExtractPlugin({ - filename: 'css/[name]-[contenthash:8].css', - chunkFilename: 'css/[name]-[contenthash:8].chunk.css', + filename: 'css/[name].css', + chunkFilename: 'css/[name].chunk.css', }), new AssetsManifestPlugin({ integrity: false,