router
This commit is contained in:
+3
-1
@@ -8,9 +8,11 @@ module.exports = {
|
||||
output: {
|
||||
filename: 'index.js',
|
||||
path: path.resolve(__dirname, 'dist'),
|
||||
publicPath: '/',
|
||||
clean: true,
|
||||
},
|
||||
devServer: {
|
||||
historyApiFallback: true,
|
||||
hot: true,
|
||||
},
|
||||
resolve: {
|
||||
@@ -19,7 +21,7 @@ module.exports = {
|
||||
module: {
|
||||
rules: [
|
||||
{
|
||||
test: /\.png/,
|
||||
test: /\.png|.svg/,
|
||||
type: 'asset/resource',
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user