chore: cleanup webpack config
All 3 changes were upstreamed to the shared config lib in the meantime. Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
This commit is contained in:
parent
337be5e317
commit
fa2919bbcc
|
@ -12,18 +12,6 @@ webpackRules.RULE_SVG = {
|
|||
}
|
||||
webpackConfig.module.rules = Object.values(webpackRules)
|
||||
|
||||
webpackConfig.module.rules.push({
|
||||
test: /\.tsx?$/,
|
||||
use: 'ts-loader',
|
||||
exclude: /node_modules/,
|
||||
})
|
||||
|
||||
webpackConfig.resolve.extensions = ['.js', '.vue', '.ts', '.tsx']
|
||||
|
||||
webpackConfig.resolve.fallback = { fs: false }
|
||||
|
||||
webpackConfig.resolve.alias = {
|
||||
vue$: 'vue/dist/vue.esm.js',
|
||||
}
|
||||
|
||||
module.exports = webpackConfig
|
||||
|
|
Loading…
Reference in New Issue