@mirta/rollup 0.5.0 → 0.5.2

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/package.mjs CHANGED
@@ -1016,7 +1016,7 @@ function createReplacePlugin(isProduction, isBundlerEsmBuild, isNodeBuild) {
1016
1016
  return replace({
1017
1017
  preventAssignment: true,
1018
1018
  values: replacements,
1019
- delimiters: ['\\b', '\\b(?![\\.\\:])'],
1019
+ delimiters: ['\\b', '\\b(?![\'"]?[\\.\\:])'],
1020
1020
  });
1021
1021
  }
1022
1022
 
package/dist/runtime.mjs CHANGED
@@ -290,11 +290,13 @@ async function defineRuntimeConfig(options = {}) {
290
290
  cwd,
291
291
  rootDir: monorepoContext.rootDir,
292
292
  }),
293
+ 'process.env.NODE_ENV': JSON.stringify(mode),
293
294
  // Признак сборки в режиме разработки
294
- __DEV__: JSON.stringify(!isProduction),
295
+ '__DEV__': JSON.stringify(!isProduction),
295
296
  // Автоматически меняется в процессе тестирования
296
- __TEST__: 'false',
297
+ '__TEST__': 'false',
297
298
  },
299
+ delimiters: ['\\b', '\\b(?![\'"]?[\\.\\:])'],
298
300
  }),
299
301
  // Очистка виртуальных файлов после сборки
300
302
  del({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mirta/rollup",
3
- "version": "0.5.0",
3
+ "version": "0.5.2",
4
4
  "sideEffects": false,
5
5
  "description": "Predefined Rollup configuration for wb-rules project builds",
6
6
  "keywords": [
@@ -50,11 +50,11 @@
50
50
  },
51
51
  "dependencies": {
52
52
  "@babel/core": "^7.29.0",
53
- "@babel/preset-env": "^7.29.0",
53
+ "@babel/preset-env": "^7.29.2",
54
54
  "@babel/plugin-transform-spread": "^7.28.6",
55
- "@dotenvx/dotenvx": "^1.52.0",
55
+ "@dotenvx/dotenvx": "^1.59.1",
56
56
  "@rollup/plugin-babel": "^6.1.0",
57
- "@rollup/plugin-commonjs": "^29.0.0",
57
+ "@rollup/plugin-commonjs": "^29.0.2",
58
58
  "@rollup/plugin-multi-entry": "^7.1.0",
59
59
  "@rollup/plugin-node-resolve": "^16.0.3",
60
60
  "@rollup/plugin-replace": "^6.0.3",
@@ -64,10 +64,10 @@
64
64
  "magic-string": "^0.30.21",
65
65
  "rollup-plugin-dts": "^6.3.0",
66
66
  "find-up": "^8.0.0",
67
- "@mirta/env-loader": "0.5.0",
68
- "@mirta/package": "0.5.0",
69
- "@mirta/workspace": "0.5.0",
70
- "@mirta/basics": "0.5.0"
67
+ "@mirta/basics": "0.5.2",
68
+ "@mirta/workspace": "0.5.2",
69
+ "@mirta/package": "0.5.2",
70
+ "@mirta/env-loader": "0.5.2"
71
71
  },
72
72
  "devDependencies": {
73
73
  "rollup": "^4.59.0",