@mirta/rollup 0.2.2 → 0.2.3

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.
Files changed (2) hide show
  1. package/dist/index.mjs +2 -12
  2. package/package.json +6 -7
package/dist/index.mjs CHANGED
@@ -2,7 +2,6 @@ import multi from '@rollup/plugin-multi-entry';
2
2
  import resolve from '@rollup/plugin-node-resolve';
3
3
  import ts from 'rollup-plugin-typescript2';
4
4
  import dotenv from '@dotenv-run/rollup';
5
- import copy from 'rollup-plugin-copy';
6
5
  import replace from '@rollup/plugin-replace';
7
6
  import { getBabelOutputPlugin } from '@rollup/plugin-babel';
8
7
  import { deleteAsync } from 'del';
@@ -160,17 +159,8 @@ function defineConfig(options = {}) {
160
159
  del({
161
160
  targets: 'dist/*',
162
161
  }),
163
- // Переносит js-файлы из src в dist без какой-либо обработки
164
- // в целях обеспечения совместимости с существующими скриптами.
165
- //
166
- copy({
167
- targets: [
168
- { src: 'src/wb-rules/**/*.js', dest: `${outputDir.es5}/wb-rules` },
169
- { src: 'src/wb-rules-modules/**/*.js', dest: `${outputDir.es5}/wb-rules-modules` },
170
- ],
171
- }),
172
162
  multi({
173
- exclude: ['src/wb-rules/*.disabled.ts'],
163
+ exclude: ['src/wb-rules/*.disabled.[jt]s'],
174
164
  preserveModules: true,
175
165
  }),
176
166
  resolve(),
@@ -198,7 +188,7 @@ function defineConfig(options = {}) {
198
188
  }),
199
189
  ];
200
190
  return {
201
- input: 'src/wb-rules/*.ts',
191
+ input: 'src/wb-rules/*.[jt]s',
202
192
  plugins: [
203
193
  ...defaultPlugins,
204
194
  ...plugins,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mirta/rollup",
3
3
  "description": "Predefined Rollup configuration for wb-rules project builds.",
4
- "version": "0.2.2",
4
+ "version": "0.2.3",
5
5
  "license": "Unlicense",
6
6
  "keywords": [
7
7
  "mirta",
@@ -31,22 +31,21 @@
31
31
  "url": "https://github.com/wb-mirta/core/issues"
32
32
  },
33
33
  "dependencies": {
34
- "@babel/core": "^7.28.0",
35
- "@babel/preset-env": "^7.28.0",
34
+ "@babel/core": "^7.28.3",
35
+ "@babel/preset-env": "^7.28.3",
36
36
  "@dotenv-run/rollup": "^1.3.7",
37
37
  "@rollup/plugin-babel": "^6.0.4",
38
38
  "@rollup/plugin-multi-entry": "^6.0.1",
39
39
  "@rollup/plugin-node-resolve": "^16.0.1",
40
40
  "babel-plugin-array-includes": "^2.0.3",
41
41
  "del": "^8.0.0",
42
- "magic-string": "^0.30.17",
43
- "rollup-plugin-copy": "^3.5.0",
42
+ "magic-string": "^0.30.18",
44
43
  "rollup-plugin-typescript2": "^0.36.0",
45
44
  "typescript": "^5.8.3",
46
- "@mirta/polyfills": "0.2.2"
45
+ "@mirta/polyfills": "0.2.3"
47
46
  },
48
47
  "devDependencies": {
49
- "rollup": "^4.45.1"
48
+ "rollup": "^4.48.1"
50
49
  },
51
50
  "publishConfig": {
52
51
  "access": "public"