WIP
This commit is contained in:
parent
96eccd2ecd
commit
7d9208e951
143 changed files with 1000 additions and 1008 deletions
|
@ -1,3 +1,4 @@
|
|||
const path = require('path');
|
||||
const common = require('./webpack.common');
|
||||
const merge = require('webpack-merge');
|
||||
const packageConfig = require('./package.json');
|
||||
|
@ -17,7 +18,7 @@ module.exports = merge(common, {
|
|||
},
|
||||
{
|
||||
test: /\.js$/,
|
||||
exclude: /node_modules[\\/](?!date-fns|epubjs|libarchive|jellyfin-apiclient|query-string|split-on-first|strict-uri-encode|xmldom)/,
|
||||
exclude: /node_modules[\\/](?!date-fns|epubjs|libarchive|jellyfin-apiclient|split-on-first|strict-uri-encode|xmldom)/,
|
||||
use: {
|
||||
loader: 'babel-loader',
|
||||
options: {
|
||||
|
@ -61,5 +62,9 @@ module.exports = merge(common, {
|
|||
filename: 'index.html',
|
||||
template: 'index.html'
|
||||
})
|
||||
]
|
||||
],
|
||||
devServer: {
|
||||
contentBase: path.join(__dirname, 'dist'),
|
||||
compress: true
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue