@nebula.js/cli-build
Advanced tools
Comparing version 4.9.0 to 4.10.0
@@ -64,3 +64,3 @@ const fs = require('fs'); | ||
cwd = process.cwd(), | ||
argv = { sourcemap: true }, | ||
argv = { sourcemap: true, inlineDynamicImports: false }, | ||
core, | ||
@@ -179,2 +179,3 @@ behaviours: { | ||
format, | ||
inlineDynamicImports: argv.inlineDynamicImports, | ||
file: path.resolve(dir, outputFile), | ||
@@ -181,0 +182,0 @@ name: outputName, |
@@ -57,2 +57,8 @@ /* eslint global-require: 0, no-param-reassign: 0 */ | ||
}, | ||
inlineDynamicImports: { | ||
description: | ||
'In Rollup, inlineDynamicImports option is a configuration option that allows code-splitting while still creating a single bundle.', | ||
type: 'boolean', | ||
default: false, | ||
}, | ||
}; | ||
@@ -59,0 +65,0 @@ |
{ | ||
"name": "@nebula.js/cli-build", | ||
"version": "4.9.0", | ||
"version": "4.10.0", | ||
"description": "", | ||
@@ -24,9 +24,9 @@ "license": "MIT", | ||
"dependencies": { | ||
"@babel/cli": "7.23.4", | ||
"@babel/core": "7.23.3", | ||
"@babel/cli": "7.23.9", | ||
"@babel/core": "7.23.9", | ||
"@babel/plugin-transform-react-jsx": "7.23.4", | ||
"@babel/preset-env": "7.23.3", | ||
"@babel/preset-env": "7.23.9", | ||
"@rollup/plugin-babel": "6.0.4", | ||
"@rollup/plugin-commonjs": "25.0.7", | ||
"@rollup/plugin-json": "6.0.1", | ||
"@rollup/plugin-json": "6.1.0", | ||
"@rollup/plugin-node-resolve": "15.2.3", | ||
@@ -37,4 +37,4 @@ "@rollup/plugin-replace": "5.0.5", | ||
"extend": "3.0.2", | ||
"postcss": "^8.4.31", | ||
"rollup": "4.6.0", | ||
"postcss": "^8.4.33", | ||
"rollup": "4.9.6", | ||
"rollup-plugin-postcss": "4.0.2", | ||
@@ -45,7 +45,7 @@ "rollup-plugin-sourcemaps": "0.6.3", | ||
"devDependencies": { | ||
"@rollup/plugin-typescript": "11.1.5", | ||
"@rollup/plugin-typescript": "11.1.6", | ||
"tslib": "*", | ||
"typescript": ">=5.3.2" | ||
"typescript": ">=5.3.3" | ||
}, | ||
"gitHead": "45dbf5b8fae64c7774b8ebabd3a94af33c7d2283" | ||
"gitHead": "1be7d26b3c063c05c6d3e85c1ad2b097177dccb3" | ||
} |
@@ -19,14 +19,21 @@ # @nebula.js/cli-build | ||
Options: | ||
--version Show version number [boolean] | ||
--config, -c Path to a JavaScript config file | ||
[string] [default: "nebula.config.js"] | ||
--watch, -w Watch source files | ||
[choices: "umd", "systemjs"] [default: "umd"] | ||
--sourcemap, -m Generate source map [boolean] [default: true] | ||
--mode Explicitly set mode | ||
[string] [choices: "production", "development"] | ||
--core Set a core build target [string] [default: "core"] | ||
--typescript Enable typescript bundling [boolean] [default: false] | ||
--preferBuiltins Configuration option that specifies whether to use Node.js built-in modules [boolean] [default: true] | ||
--browser Instructs the build to use the browser module resolutions in package.json and adds 'browser' to exportConditions if it is not present so browser conditionals in exports are applied. [boolean] [default: false] | ||
--version Show version number [boolean] | ||
--config, -c Path to a JavaScript config file | ||
[string] [default: "nebula.config.js"] | ||
--watch, -w Watch source files | ||
[choices: "umd", "systemjs"] [default: "umd"] | ||
--sourcemap, -m Generate source map [boolean] [default: true] | ||
--mode Explicitly set mode | ||
[string] [choices: "production", "development"] | ||
--core Set a core build target [string] [default: "core"] | ||
--typescript Enable typescript bundling [boolean] [default: false] | ||
--preferBuiltins Specify whether to use Node.js built-in modules. | ||
[boolean] [default: true] | ||
--browser Use the browser module resolutions in package.json and adds | ||
'browser' to exportConditions if it is not present so browser | ||
conditionals in exports are applied. | ||
[boolean] [default: false] | ||
--inlineDynamicImports Inlines dynamic imports, allowing for code-splitting | ||
regardless of format. | ||
[boolean] [default: false] | ||
``` | ||
@@ -33,0 +40,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
23180
308
510
172
24
+ Added@babel/cli@7.23.9(transitive)
+ Added@babel/core@7.23.9(transitive)
+ Added@babel/preset-env@7.23.9(transitive)
+ Added@rollup/plugin-json@6.1.0(transitive)
+ Added@rollup/rollup-android-arm-eabi@4.9.6(transitive)
+ Added@rollup/rollup-android-arm64@4.9.6(transitive)
+ Added@rollup/rollup-darwin-arm64@4.9.6(transitive)
+ Added@rollup/rollup-darwin-x64@4.9.6(transitive)
+ Added@rollup/rollup-linux-arm-gnueabihf@4.9.6(transitive)
+ Added@rollup/rollup-linux-arm64-gnu@4.9.6(transitive)
+ Added@rollup/rollup-linux-arm64-musl@4.9.6(transitive)
+ Added@rollup/rollup-linux-riscv64-gnu@4.9.6(transitive)
+ Added@rollup/rollup-linux-x64-gnu@4.9.6(transitive)
+ Added@rollup/rollup-linux-x64-musl@4.9.6(transitive)
+ Added@rollup/rollup-win32-arm64-msvc@4.9.6(transitive)
+ Added@rollup/rollup-win32-ia32-msvc@4.9.6(transitive)
+ Added@rollup/rollup-win32-x64-msvc@4.9.6(transitive)
+ Added@types/estree@1.0.5(transitive)
+ Addedbabel-plugin-polyfill-corejs3@0.9.0(transitive)
+ Addedrollup@4.9.6(transitive)
- Removed@babel/cli@7.23.4(transitive)
- Removed@babel/core@7.23.3(transitive)
- Removed@babel/helper-define-polyfill-provider@0.4.4(transitive)
- Removed@babel/preset-env@7.23.3(transitive)
- Removed@rollup/plugin-json@6.0.1(transitive)
- Removed@rollup/rollup-android-arm-eabi@4.6.0(transitive)
- Removed@rollup/rollup-android-arm64@4.6.0(transitive)
- Removed@rollup/rollup-darwin-arm64@4.6.0(transitive)
- Removed@rollup/rollup-darwin-x64@4.6.0(transitive)
- Removed@rollup/rollup-linux-arm-gnueabihf@4.6.0(transitive)
- Removed@rollup/rollup-linux-arm64-gnu@4.6.0(transitive)
- Removed@rollup/rollup-linux-arm64-musl@4.6.0(transitive)
- Removed@rollup/rollup-linux-x64-gnu@4.6.0(transitive)
- Removed@rollup/rollup-linux-x64-musl@4.6.0(transitive)
- Removed@rollup/rollup-win32-arm64-msvc@4.6.0(transitive)
- Removed@rollup/rollup-win32-ia32-msvc@4.6.0(transitive)
- Removed@rollup/rollup-win32-x64-msvc@4.6.0(transitive)
- Removedbabel-plugin-polyfill-corejs3@0.8.7(transitive)
- Removedrollup@4.6.0(transitive)
Updated@babel/cli@7.23.9
Updated@babel/core@7.23.9
Updated@babel/preset-env@7.23.9
Updated@rollup/plugin-json@6.1.0
Updatedpostcss@^8.4.33
Updatedrollup@4.9.6