Skip to content

Commit

Permalink
[ui] Vue 3 - Fixed vue alias in webpack config
Browse files Browse the repository at this point in the history
  • Loading branch information
sreenaths authored and JohanAhlen committed Feb 17, 2021
1 parent bc65400 commit 3b23519
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,6 @@ const config = {
mode: 'development',
module: {
rules: [
// {
// test: /\.tsx?$/,
// loader: 'ts-loader',
// options: {
// appendTsSuffixTo: [/\.vue$/],
// },
// exclude: /node_modules/,
// },
{
test: /\.tsx?$/,
exclude: /node_modules/,
Expand All @@ -64,7 +56,7 @@ const config = {
options: {
shadowMode: true,
loaders: {
less: ['vue-style-loader', 'css-loader', 'less-loader', 'sass-loader']
less: ['css-loader', 'less-loader', 'sass-loader']
}
}
}
Expand Down Expand Up @@ -100,7 +92,7 @@ const config = {
modules: ['node_modules', 'js'],
alias: {
bootstrap: __dirname + '/node_modules/bootstrap-2.3.2/js',
vue$: __dirname + '/node_modules/vue/dist/vue.esm.browser.min.js'
vue$: __dirname + '/node_modules/vue/dist/vue.esm-browser.prod.js'
}
}
};
Expand Down

0 comments on commit 3b23519

Please sign in to comment.