@emailmaker/emailmaker 1.0.3 → 1.0.4
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/README.md +1 -1
- package/README_eng.md +1 -1
- package/asset-manifest.json +2 -2
- package/emailmaker-esm.js +1 -1
- package/emailmaker.js +1 -1
- package/iframe/{iframe-eblock.038731e6131d4f60a968.html → iframe-eblock.81ade0a4fff6de50e32b.html} +1 -1
- package/iframe/{iframe.038731e6131d4f60a968.html → iframe.81ade0a4fff6de50e32b.html} +1 -1
- package/iframe/js/cssbeautify.js +1 -1
- package/iframe/sandbox-eblock.js +1 -1
- package/iframe/sandbox.js +1 -1
- package/package.json +1 -1
- package/plugin.html +1 -1
- package/plugin_default.html +1 -1
- package/plugin_s.html +1 -1
- package/static/js/8649.5b36954f.js +1 -0
- package/vite/index.js +1 -3
- package/webpack/index.js +1 -1
- package/static/js/8649.51163dee.js +0 -1
package/vite/index.js
CHANGED
|
@@ -4,14 +4,13 @@ const MIME_TYPES = require("./mime-types");
|
|
|
4
4
|
const { toPascalCase, cleanUrl, normalizePath, copyFolder } = require("./utils");
|
|
5
5
|
|
|
6
6
|
const PACKAGE_PATH = require("./../package.json").name;
|
|
7
|
-
const APP_NAME = PACKAGE_PATH.split("/").pop().replace("-dev", "");
|
|
7
|
+
const APP_NAME = PACKAGE_PATH.split("/").pop().replace("-dev", "").replaceAll("-", "");
|
|
8
8
|
const ENVIRONMENT_VARIABLE = `${toPascalCase(APP_NAME)}Environment`;
|
|
9
9
|
const PLUGIN_NAME = `${APP_NAME}-vite-plugin`;
|
|
10
10
|
const PACKAGE_ENTRY_NAME = `${APP_NAME}.js`;
|
|
11
11
|
const ESM_PACKAGE_ENTRY_NAME = `${APP_NAME}-esm.js`;
|
|
12
12
|
const DEFAULT_OUTPUT_FOLDER = `/${APP_NAME}`;
|
|
13
13
|
const DEFAULT_MODULES_PATH = "node_modules";
|
|
14
|
-
console.log(PACKAGE_PATH);
|
|
15
14
|
|
|
16
15
|
const IGNORED_PATTERNS = [
|
|
17
16
|
/.*\.npmignore/,
|
|
@@ -119,7 +118,6 @@ const ViteBuildPlugin = (options) => {
|
|
|
119
118
|
|
|
120
119
|
if (stat.isDirectory()) {
|
|
121
120
|
await copyFolder(sourcePath, destPath, (sourcePath) => {
|
|
122
|
-
console.log(`${sourcePath} ${!IGNORED_PATTERNS.some((pattern) => pattern.test(sourcePath))}`);
|
|
123
121
|
return !IGNORED_PATTERNS.some((pattern) => pattern.test(sourcePath));
|
|
124
122
|
}
|
|
125
123
|
)
|
package/webpack/index.js
CHANGED
|
@@ -17,7 +17,7 @@ function toPascalCase(string) {
|
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
const PACKAGE_PATH = require("./../package.json").name;
|
|
20
|
-
const APP_NAME = PACKAGE_PATH.split("/").pop().replace("-dev", "");
|
|
20
|
+
const APP_NAME = PACKAGE_PATH.split("/").pop().replace("-dev", "").replace("-", "");
|
|
21
21
|
const PLUGIN_NAME = `${toPascalCase(APP_NAME)}WebpackPlugin`;
|
|
22
22
|
const PACKAGE_ENTRY_NAME = `${APP_NAME}.js`;
|
|
23
23
|
const DEFAULT_OUTPUT_FOLDER = APP_NAME;
|