| 123456789101112131415161718192021 |
- const path = require("path");
- const webpack = require('webpack')
- function resolve(dir) {
- return path.join(__dirname, dir);
- }
- module.exports = {
- lintOnSave: false,//禁用代码检测
- // devServer: {
- // proxy: {
- // '/api': {
- // target: 'http://192.168.1.210:8032'//proxy代理
- // }
- // }
- // }
- chainWebpack(config) {
- config.plugin('provide').use(webpack.ProvidePlugin, [{
- 'window.Quill': 'quill'
- }])
- }
- }
|