Skip to content

Commit e39cdae

Browse files
authored
Rename exportOnlyLocals to onlyLocals in css-loader option
1 parent 667d9f4 commit e39cdae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/@vuepress/core/lib/node/webpack/createBaseConfig.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ module.exports = function createBaseConfig (context, isServer) {
233233
localIdentName: `[local]_[hash:base64:8]`,
234234
importLoaders: 1,
235235
sourceMap: !isProd,
236-
exportOnlyLocals: isServer
236+
onlyLocals: isServer
237237
})
238238

239239
rule.use('postcss-loader').loader('postcss-loader').options(Object.assign({

0 commit comments

Comments
 (0)