gant-core 0.0.8 → 0.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cli/index.js +9 -10
- package/lib/cli/index.js.map +1 -1
- package/package.json +3 -3
package/lib/cli/index.js
CHANGED
|
@@ -25146,7 +25146,7 @@ const registered = new WeakSet();
|
|
|
25146
25146
|
|
|
25147
25147
|
/** @type {WeakMap<Compilation, MiniCssExtractPluginCompilationHooks>} */
|
|
25148
25148
|
const compilationHooksMap = new WeakMap();
|
|
25149
|
-
|
|
25149
|
+
class MiniCssExtractPlugin {
|
|
25150
25150
|
/**
|
|
25151
25151
|
* @param {Compiler["webpack"]} webpack
|
|
25152
25152
|
* @returns {CssModuleConstructor}
|
|
@@ -26059,13 +26059,13 @@ let MiniCssExtractPlugin$1 = class MiniCssExtractPlugin {
|
|
|
26059
26059
|
}
|
|
26060
26060
|
return new ConcatSource(externalsSource, source);
|
|
26061
26061
|
}
|
|
26062
|
-
}
|
|
26063
|
-
MiniCssExtractPlugin
|
|
26064
|
-
MiniCssExtractPlugin
|
|
26065
|
-
MiniCssExtractPlugin
|
|
26066
|
-
var dist = MiniCssExtractPlugin
|
|
26062
|
+
}
|
|
26063
|
+
MiniCssExtractPlugin.pluginName = pluginName;
|
|
26064
|
+
MiniCssExtractPlugin.pluginSymbol = pluginSymbol;
|
|
26065
|
+
MiniCssExtractPlugin.loader = require.resolve("./loader");
|
|
26066
|
+
var dist = MiniCssExtractPlugin;
|
|
26067
26067
|
|
|
26068
|
-
var MiniCssExtractPlugin$
|
|
26068
|
+
var MiniCssExtractPlugin$1 = /*@__PURE__*/getDefaultExportFromCjs(dist);
|
|
26069
26069
|
|
|
26070
26070
|
var getProConfig = (config, cwd) => {
|
|
26071
26071
|
const { outputPathDir = 'dist' } = config;
|
|
@@ -26094,7 +26094,7 @@ var getProConfig = (config, cwd) => {
|
|
|
26094
26094
|
},
|
|
26095
26095
|
},
|
|
26096
26096
|
plugins: [
|
|
26097
|
-
new MiniCssExtractPlugin$
|
|
26097
|
+
new MiniCssExtractPlugin$1(),
|
|
26098
26098
|
new CopyFolderPlugin({
|
|
26099
26099
|
patterns: [
|
|
26100
26100
|
{
|
|
@@ -26107,7 +26107,6 @@ var getProConfig = (config, cwd) => {
|
|
|
26107
26107
|
}, config);
|
|
26108
26108
|
};
|
|
26109
26109
|
|
|
26110
|
-
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
|
|
26111
26110
|
const OMIT_NAMES_ALL = [
|
|
26112
26111
|
'name',
|
|
26113
26112
|
'routes',
|
|
@@ -26219,7 +26218,7 @@ const getDefaultConfig = (cwd, config) => {
|
|
|
26219
26218
|
use: [
|
|
26220
26219
|
config.mode === 'development'
|
|
26221
26220
|
? require.resolve('style-loader')
|
|
26222
|
-
: MiniCssExtractPlugin.loader,
|
|
26221
|
+
: MiniCssExtractPlugin$1.loader,
|
|
26223
26222
|
{
|
|
26224
26223
|
loader: require.resolve('css-loader'),
|
|
26225
26224
|
options: {
|