We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f2fe87 commit ead854dCopy full SHA for ead854d
lib/loader.js
@@ -438,15 +438,9 @@ module.exports = function (content) {
438
// scopeId,
439
// moduleIdentifier (server only)
440
// )
441
- if (options.esModule) {
442
- output += 'import normalizeComponent from ' +
443
- loaderUtils.stringifyRequest(loaderContext, '!' + componentNormalizerPath) +
444
- '\n'
445
- } else {
446
- output += 'var normalizeComponent = require(' +
447
448
- ')\n'
449
- }
+ output += 'var normalizeComponent = require(' +
+ loaderUtils.stringifyRequest(loaderContext, '!' + componentNormalizerPath) +
+ ')\n'
450
451
// <script>
452
output += '/* script */\n'
0 commit comments