@ms-cloudpack/bundler-plugin-ori
Advanced tools
Comparing version 0.17.11 to 0.18.0
@@ -81,2 +81,4 @@ import { findProjectRoot } from '@ms-cloudpack/package-utilities'; | ||
const { inputPath, sourcemap, entries, outputPath, external = [], inlined = [], minify, incremental, dynamicImports, } = options; | ||
const { config } = context; | ||
const { features, mode } = config; | ||
const overrideOptions = (options.overrideOptions || {}); | ||
@@ -88,3 +90,3 @@ const absWorkingDir = getAbsWorkingDir(inputPath); | ||
const finalOutputPath = outputPath ? path.resolve(inputPath, outputPath) : inputPath; | ||
const resolveWebExtensions = Boolean(context.config.features?.resolveWebExtensions); | ||
const resolveWebExtensions = Boolean(features?.resolveWebExtensions); | ||
const resolveExtensions = resolveWebExtensions | ||
@@ -127,3 +129,3 @@ ? ['.web.tsx', '.web.ts', '.web.jsx', '.web.js', ...defaultResolveExtensions] | ||
// Enabling this automatically marks all import paths that look like npm packages as external. | ||
packages: !inlined.length ? 'external' : undefined, | ||
packages: !inlined.length && mode === 'library' ? 'external' : undefined, | ||
// These can be either package names or paths/globs (see https://esbuild.github.io/api/#external). | ||
@@ -130,0 +132,0 @@ // For any paths starting with a dot or slash, add relInputPath to the start. |
{ | ||
"name": "@ms-cloudpack/bundler-plugin-ori", | ||
"version": "0.17.11", | ||
"version": "0.18.0", | ||
"description": "An abstraction to bundle source code using ori.", | ||
@@ -17,6 +17,6 @@ "license": "MIT", | ||
"dependencies": { | ||
"@ms-cloudpack/common-types": "^0.7.2", | ||
"@ms-cloudpack/package-utilities": "^7.5.4", | ||
"@ms-cloudpack/common-types": "^0.8.0", | ||
"@ms-cloudpack/package-utilities": "^7.6.0", | ||
"@ms-cloudpack/path-string-parsing": "^1.2.3", | ||
"@ms-cloudpack/path-utilities": "^2.7.17", | ||
"@ms-cloudpack/path-utilities": "^2.7.18", | ||
"@ms-cloudpack/retry": "^0.1.2", | ||
@@ -26,3 +26,3 @@ "oribuild": "0.0.0-pre-alpha.15-2024061818-7003f9c" | ||
"devDependencies": { | ||
"@ms-cloudpack/bundler-plugin-tests": "^0.11.23", | ||
"@ms-cloudpack/bundler-plugin-tests": "^0.11.24", | ||
"@ms-cloudpack/eslint-plugin-internal": "^0.0.1", | ||
@@ -29,0 +29,0 @@ "@ms-cloudpack/scripts": "^0.0.1", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
42304
337
+ Added@ms-cloudpack/common-types@0.8.2(transitive)
- Removed@ms-cloudpack/common-types@0.7.2(transitive)