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