Skip to content

Commit 3225601

Browse files
wip: temporary disable DtsBundlePlugin usage (see #65 (comment))
1 parent d94d8a3 commit 3225601

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

build/webpack.config.js

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -124,12 +124,15 @@ const configure = ({name, vueTarget, libraryTargetModule}) => (env = {}, { mode
124124

125125
plugins: [
126126
...!libraryTargetModule ? [
127+
/*
127128
new DtsBundlePlugin({
128-
name: `vue${ vueTarget }-sfc-loader`,
129-
main:`${distTypesPath}/src/index.d.ts`,
130-
baseDir: `${distTypesPath}/src`,
131-
out: `${distPath}/vue${ vueTarget }-sfc-loader.d.ts`
132-
})] : [],
129+
name: `vue${ vueTarget }-sfc-loader`,
130+
main:`${distTypesPath}/src/index.d.ts`,
131+
baseDir: `${distTypesPath}/src`,
132+
out: `${distPath}/vue${ vueTarget }-sfc-loader.d.ts`
133+
})
134+
*/
135+
] : [],
133136

134137
new Webpack.DefinePlugin({
135138

0 commit comments

Comments
 (0)