first commit
This commit is contained in:
20
app_vue/node_modules/vue-loader/dist/plugin.js
generated
vendored
Normal file
20
app_vue/node_modules/vue-loader/dist/plugin.js
generated
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
const util_1 = require("./util");
|
||||
const NS = 'vue-loader';
|
||||
class Plugin {
|
||||
apply(compiler) {
|
||||
let Ctor;
|
||||
if ((0, util_1.testWebpack5)(compiler)) {
|
||||
// webpack5 and upper
|
||||
Ctor = require('./pluginWebpack5').default;
|
||||
}
|
||||
else {
|
||||
// webpack4 and lower
|
||||
Ctor = require('./pluginWebpack4').default;
|
||||
}
|
||||
new Ctor().apply(compiler);
|
||||
}
|
||||
}
|
||||
Plugin.NS = NS;
|
||||
exports.default = Plugin;
|
Reference in New Issue
Block a user