vue-loader
Advanced tools
Comparing version 16.3.0 to 16.3.1
@@ -1,11 +0,11 @@ | ||
# [16.3.0](https://github.com/vuejs/vue-loader/compare/v16.2.0...v16.3.0) (2021-06-29) | ||
## [16.3.1](https://github.com/vuejs/vue-loader/compare/v16.3.0...v16.3.1) (2021-07-16) | ||
### Features | ||
### Bug Fixes | ||
* pass on compilerOptions and refSugar when using `<script setup>` ([7137294](https://github.com/vuejs/vue-loader/commit/7137294e7eca465c27c03a43057cb6a8f80ea2d7)) | ||
* pick up production env in thread-loader context ([821a3a3](https://github.com/vuejs/vue-loader/commit/821a3a35f04cda3154a9341898225f61d72b3f05)), closes [vuejs/vue-next#3921](https://github.com/vuejs/vue-next/issues/3921) | ||
# [16.2.0](https://github.com/vuejs/vue-loader/compare/v16.1.2...v16.2.0) (2021-03-26) | ||
# [16.3.0](https://github.com/vuejs/vue-loader/compare/v16.2.0...v16.3.0) (2021-06-29) | ||
@@ -15,7 +15,7 @@ | ||
* enable :slotted usage detection ([66a3759](https://github.com/vuejs/vue-loader/commit/66a3759c052fa75485243d91c22243ee35610089)) | ||
* pass on compilerOptions and refSugar when using `<script setup>` ([7137294](https://github.com/vuejs/vue-loader/commit/7137294e7eca465c27c03a43057cb6a8f80ea2d7)) | ||
# [16.2.0](https://github.com/vuejs/vue-loader/compare/v16.1.2...v16.2.0) (2021-03-26) | ||
# [16.3.0](https://github.com/vuejs/vue-loader/compare/v16.2.0...v16.3.0) (2021-06-29) | ||
@@ -25,12 +25,12 @@ | ||
* enable :slotted usage detection ([66a3759](https://github.com/vuejs/vue-loader/commit/66a3759c052fa75485243d91c22243ee35610089)) | ||
* pass on compilerOptions and refSugar when using `<script setup>` ([7137294](https://github.com/vuejs/vue-loader/commit/7137294e7eca465c27c03a43057cb6a8f80ea2d7)) | ||
## [16.1.2](https://github.com/vuejs/vue-loader/compare/v16.1.1...v16.1.2) (2020-12-17) | ||
# [16.2.0](https://github.com/vuejs/vue-loader/compare/v16.1.2...v16.2.0) (2021-03-26) | ||
### Bug Fixes | ||
### Features | ||
* resourceQuery could be undefined in webpack 5 ([6a1ee76](https://github.com/vuejs/vue-loader/commit/6a1ee76aa6a876155e2cd7fb1f133553a9c38706)), closes [#1771](https://github.com/vuejs/vue-loader/issues/1771) | ||
* enable :slotted usage detection ([66a3759](https://github.com/vuejs/vue-loader/commit/66a3759c052fa75485243d91c22243ee35610089)) | ||
@@ -37,0 +37,0 @@ |
@@ -43,3 +43,3 @@ "use strict"; | ||
const isServer = (_a = options.isServerBuild) !== null && _a !== void 0 ? _a : target === 'node'; | ||
const isProduction = mode === 'production'; | ||
const isProduction = mode === 'production' || process.env.NODE_ENV === 'production'; | ||
const filename = resourcePath.replace(/\?.*$/, ''); | ||
@@ -46,0 +46,0 @@ const { descriptor, errors } = compiler_sfc_1.parse(source, { |
@@ -24,3 +24,3 @@ "use strict"; | ||
} | ||
const isProd = loaderContext.mode === 'production'; | ||
const isProd = loaderContext.mode === 'production' || process.env.NODE_ENV === 'production'; | ||
const isServer = (_a = options.isServerBuild) !== null && _a !== void 0 ? _a : loaderContext.target === 'node'; | ||
@@ -27,0 +27,0 @@ const enableInline = canInlineTemplate(descriptor, isProd); |
@@ -17,3 +17,3 @@ "use strict"; | ||
trim: true, | ||
isProd: this.mode === 'production', | ||
isProd: this.mode === 'production' || process.env.NODE_ENV === 'production', | ||
}); | ||
@@ -20,0 +20,0 @@ if (errors.length) { |
@@ -22,3 +22,3 @@ "use strict"; | ||
const isServer = (_a = options.isServerBuild) !== null && _a !== void 0 ? _a : loaderContext.target === 'node'; | ||
const isProd = loaderContext.mode === 'production'; | ||
const isProd = loaderContext.mode === 'production' || process.env.NODE_ENV === 'production'; | ||
const query = qs.parse(loaderContext.resourceQuery.slice(1)); | ||
@@ -25,0 +25,0 @@ const scopeId = query.id; |
{ | ||
"name": "vue-loader", | ||
"version": "16.3.0", | ||
"version": "16.3.1", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "author": "Evan You", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
64123
8