提交 4a632487 编写于 作者: H Hao Sun

fix monaco not work.

上级 10c13413
此差异已折叠。
......@@ -20,8 +20,9 @@
"localforage": "^1.10.0",
"lodash.debounce": "^4.0.8",
"lodash.throttle": "^4.1.1",
"monaco-editor": "^0.32.1",
"monaco-editor-webpack-plugin": "^7.0.1",
"monaco-editor": "^0.25.2",
"monaco-editor-vue3": "^0.1.5",
"monaco-editor-webpack-plugin": "^6.0.0",
"neffos.js": "^0.1.25",
"nprogress": "^0.2.0",
"sass-loader": "^12.6.0",
......
......@@ -43,24 +43,24 @@ module.exports = {
// 'vue': 'Vue',
// 'vue-router': 'VueRouter',
},
module: {
rules: [
{
test: /\.(sa|sc|c)ss$/,
use: [
'vue-style-loader',
'style-loader',
'css-loader',
'sass-loader',
'postcss-loader',
]
},
{
test: /\.ttf$/,
use: ['file-loader']
}
],
},
// module: {
// rules: [
// {
// test: /\.(sa|sc|c)ss$/,
// use: [
// 'vue-style-loader',
// 'style-loader',
// 'css-loader',
// 'sass-loader',
// 'postcss-loader',
// ]
// },
// {
// test: /\.ttf$/,
// use: ['file-loader']
// }
// ],
// },
// plugins: [new MonacoWebpackPlugin()],
},
......@@ -103,4 +103,4 @@ module.exports = {
}
])
}
}
\ No newline at end of file
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册