@travetto/pack 3.4.0-rc.1 → 3.4.0-rc.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.
- package/package.json +1 -2
- package/support/bin/rollup.ts +1 -6
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@travetto/pack",
|
|
3
|
-
"version": "3.4.0-rc.
|
|
3
|
+
"version": "3.4.0-rc.3",
|
|
4
4
|
"description": "Code packing utilities",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"travetto",
|
|
@@ -27,7 +27,6 @@
|
|
|
27
27
|
"@rollup/plugin-commonjs": "^25.0.7",
|
|
28
28
|
"@rollup/plugin-json": "^6.0.1",
|
|
29
29
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
30
|
-
"@rollup/plugin-replace": "^5.0.5",
|
|
31
30
|
"@rollup/plugin-terser": "^0.4.4",
|
|
32
31
|
"@travetto/base": "^3.4.0-rc.0",
|
|
33
32
|
"rollup": "^4.1.5",
|
package/support/bin/rollup.ts
CHANGED
|
@@ -3,7 +3,6 @@ import nodeResolve from '@rollup/plugin-node-resolve';
|
|
|
3
3
|
import terser from '@rollup/plugin-terser';
|
|
4
4
|
import jsonImport from '@rollup/plugin-json';
|
|
5
5
|
import sourceMaps from 'rollup-plugin-sourcemaps';
|
|
6
|
-
import replace from '@rollup/plugin-replace';
|
|
7
6
|
import type { RollupOptions } from 'rollup';
|
|
8
7
|
|
|
9
8
|
import { RootIndex } from '@travetto/manifest';
|
|
@@ -23,12 +22,8 @@ export default function buildConfig(): RollupOptions {
|
|
|
23
22
|
output,
|
|
24
23
|
plugins: [
|
|
25
24
|
jsonImport(),
|
|
26
|
-
replace({
|
|
27
|
-
values: {
|
|
28
|
-
['#!' + '/usr/bin/env node']: '' // Strip out shebang
|
|
29
|
-
}
|
|
30
|
-
}),
|
|
31
25
|
commonjsRequire({
|
|
26
|
+
exclude: ['**/@travetto/**/bin/*.js'], // Do not package any entry points
|
|
32
27
|
ignore: id => NEVER_INCLUDE.has(id),
|
|
33
28
|
dynamicRequireRoot: RootIndex.manifest.workspacePath,
|
|
34
29
|
dynamicRequireTargets: (output.format === 'commonjs' ? files : [])
|