classnames-minifier 0.1.4-canary.0 → 0.1.4-canary.1
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/dist/lib/validateDist.js +3 -0
- package/package.json +1 -1
package/dist/lib/validateDist.js
CHANGED
|
@@ -44,6 +44,9 @@ const validateDist = (pluginOptions) => {
|
|
|
44
44
|
if (prevData.version !== configuration_1.CODE_VERSION) {
|
|
45
45
|
configDiffMessages.push(`Different package version: "${prevData.version}" -> "${configuration_1.CODE_VERSION}"`);
|
|
46
46
|
}
|
|
47
|
+
if (prevData.disableDistDeletion && !disableDistDeletion) {
|
|
48
|
+
configDiffMessages.push(`"disableDistDeletion" set to "${disableDistDeletion}"`);
|
|
49
|
+
}
|
|
47
50
|
if (configDiffMessages.length) {
|
|
48
51
|
configurationError = `Changes found in package configuration: \n${configDiffMessages.map((message) => `- ${message};\n`)}`;
|
|
49
52
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "classnames-minifier",
|
|
3
|
-
"version": "0.1.4-canary.
|
|
3
|
+
"version": "0.1.4-canary.1",
|
|
4
4
|
"description": "Library for configuring style modules to generate compressed classes",
|
|
5
5
|
"main": "./dist/ClassnamesMinifier.js",
|
|
6
6
|
"types": "./dist/ClassnamesMinifier.d.ts",
|