mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2025-04-15 00:35:42 -04:00
delete stale webpack.config.js
This was obsoleted by #22 / a03b986 but mistakenly not deleted.
This commit is contained in:
parent
8a0bc4c401
commit
678fb54b21
@ -1,27 +0,0 @@
|
|||||||
const path = require('path');
|
|
||||||
const webpack = require('webpack');
|
|
||||||
const MinifyPlugin = require("babel-minify-webpack-plugin");
|
|
||||||
|
|
||||||
module.exports = {
|
|
||||||
entry: './ui-src/index.js',
|
|
||||||
output: {
|
|
||||||
filename: 'bundle.js',
|
|
||||||
path: path.resolve(__dirname, 'ui-dist')
|
|
||||||
},
|
|
||||||
module: {
|
|
||||||
rules: [
|
|
||||||
{ test: /\.png$/, loader: "file-loader" },
|
|
||||||
{ test: /\.css$/, loader: "style-loader!css-loader" },
|
|
||||||
]
|
|
||||||
},
|
|
||||||
plugins: [
|
|
||||||
new webpack.NormalModuleReplacementPlugin(
|
|
||||||
/node_modules\/moment\/moment\.js$/,
|
|
||||||
'./min/moment.min.js'),
|
|
||||||
new webpack.IgnorePlugin(/\.\/locale$/),
|
|
||||||
new webpack.NormalModuleReplacementPlugin(
|
|
||||||
/node_modules\/moment-timezone\/index\.js$/,
|
|
||||||
'./builds/moment-timezone-with-data-2012-2022.min.js'),
|
|
||||||
new MinifyPlugin({}, {})
|
|
||||||
]
|
|
||||||
};
|
|
Loading…
x
Reference in New Issue
Block a user