Skip to content

Commit

Permalink
fix(vuejs): vuejs example (#1146)
Browse files Browse the repository at this point in the history
* feat: release 103.0.0

* docs: update changelogs

* fix: fixes the vuejs build example for 0.31.0

---------

Co-authored-by: abretonc7s <[email protected]>
  • Loading branch information
christopherferreira9 and abretonc7s authored Nov 26, 2024
1 parent 2ae2f2d commit 8ab1cf1
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/examples/vuejs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
"@vue/cli-plugin-eslint": "~5.0.0",
"@vue/cli-service": "~5.0.0",
"eslint": "^7.32.0",
"eslint-plugin-vue": "^8.0.3"
"eslint-plugin-vue": "^8.0.3",
"null-loader": "^4.0.1"
},
"eslintConfig": {
"root": true,
Expand Down
15 changes: 15 additions & 0 deletions packages/examples/vuejs/vue.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,19 @@ const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
transpileDependencies: true,
publicPath: './',
chainWebpack: (config) => {
config.module
.rule('source-map')
.test(/\.map$/)
.use('source-map-loader')
.loader('source-map-loader')
.end()
.enforce('pre');

config.module
.rule('ts-declaration')
.test(/\.d\.ts$/)
.use('null-loader')
.loader('null-loader');
}
})
13 changes: 13 additions & 0 deletions packages/examples/vuejs/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7151,6 +7151,7 @@ __metadata:
core-js: ^3.8.3
eslint: ^7.32.0
eslint-plugin-vue: ^8.0.3
null-loader: ^4.0.1
vue: ^3.2.13
languageName: unknown
linkType: soft
Expand Down Expand Up @@ -7643,6 +7644,18 @@ __metadata:
languageName: node
linkType: hard

"null-loader@npm:^4.0.1":
version: 4.0.1
resolution: "null-loader@npm:4.0.1"
dependencies:
loader-utils: ^2.0.0
schema-utils: ^3.0.0
peerDependencies:
webpack: ^4.0.0 || ^5.0.0
checksum: eeb4c4dd2f8f41e46f5665e4500359109e95ec1028a178a60e0161984906572da7dd87644bcc3cb29f0125d77e2b2508fb4f3813cfb1c6604a15865beb4b987b
languageName: node
linkType: hard

"obj-multiplex@npm:^1.0.0":
version: 1.0.0
resolution: "obj-multiplex@npm:1.0.0"
Expand Down

0 comments on commit 8ab1cf1

Please sign in to comment.