mirror of
https://github.com/thelounge/thelounge.git
synced 2024-05-19 14:46:36 +02:00
Cleaup webpack config
This commit is contained in:
parent
d42232ab77
commit
ee887197c9
|
@ -93,28 +93,13 @@ const config: webpack.Configuration = {
|
|||
},
|
||||
plugins: [
|
||||
new VueLoaderPlugin(),
|
||||
// new ForkTsCheckerWebpackPlugin({
|
||||
// typescript: {
|
||||
// diagnosticOptions: {
|
||||
// semantic: true,
|
||||
// syntactic: true,
|
||||
// },
|
||||
// configFile: path.resolve(__dirname, "client/tsconfig.json"),
|
||||
// },
|
||||
// }),
|
||||
new webpack.DefinePlugin({
|
||||
__VUE_OPTIONS_API__: true,
|
||||
__VUE_PROD_DEVTOOLS__: false,
|
||||
}),
|
||||
new MiniCssExtractPlugin({
|
||||
filename: "css/style.css",
|
||||
}),
|
||||
new webpack.IgnorePlugin({resourceRegExp: /canvas/}),
|
||||
|
||||
// TODO: verify necessary
|
||||
new webpack.ProvidePlugin({
|
||||
Vue: ["vue/dist/vue.esm.js", "default"],
|
||||
}),
|
||||
new CopyPlugin({
|
||||
patterns: [
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue