UNPKG

anfrage-playground

Version:

```shell npm install ```

22 lines (21 loc) 558 B
module.exports = { publicPath: '', //使用相对路径 chainWebpack: (config) => { config.plugin('preload').tap((args) => { args[0].fileBlacklist.push(/\.css/, /\.js/) return args }) config .plugin('inline-source') .use(require('html-webpack-inline-source-plugin')) config.plugin('html').tap((args) => { args[0].title = 'Anfrage | playground' args[0].inlineSource = '(.css|.js$)' return args }) }, productionSourceMap: false, devServer: { https: false, }, }