@visulima/packem 2.0.0-alpha.4 → 2.0.0-alpha.6

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.
@@ -3523,7 +3523,7 @@ interface Options extends Config {
3523
3523
  */
3524
3524
  sourceRoot?: string;
3525
3525
  plugin?: Plugin;
3526
- isModule?: boolean | "unknown";
3526
+ isModule?: boolean | "unknown" | "commonjs";
3527
3527
  /**
3528
3528
  * Destination path. Note that this value is used only to fix source path
3529
3529
  * of source map files and swc does not write output to this path.
@@ -3766,7 +3766,7 @@ interface EsParserConfig {
3766
3766
  */
3767
3767
  importAssertions?: boolean;
3768
3768
  /**
3769
- * Defaults to `false`
3769
+ * @deprecated Always true in swc
3770
3770
  */
3771
3771
  importAttributes?: boolean;
3772
3772
  /**
@@ -3820,6 +3820,7 @@ interface TransformConfig {
3820
3820
  * https://www.typescriptlang.org/tsconfig#verbatimModuleSyntax
3821
3821
  */
3822
3822
  verbatimModuleSyntax?: boolean;
3823
+ tsEnumIsMutable?: boolean;
3823
3824
  }
3824
3825
  interface ReactConfig {
3825
3826
  /**
@@ -5175,6 +5176,7 @@ interface PackemRollupOptions {
5175
5176
  cjsInterop?: CJSInteropOptions;
5176
5177
  commonjs: RollupCommonJSOptions | false;
5177
5178
  copy?: CopyPluginOptions | false;
5179
+ dataUri?: DataUriPluginOptions | false;
5178
5180
  dts: Options$2;
5179
5181
  dynamicVars?: RollupDynamicImportVariablesOptions | false;
5180
5182
  esbuild?: Options$1 | false;
@@ -1,4 +1,4 @@
1
- import { B as BuildContext, E as Environment, R as Runtime, I as IsolatedDeclarationsTransformer, F as Format, P as PackemRollupOptions, T as TransformerFn, d as BuildHooks, g as InternalOXCTransformPluginConfig, a as TransformerName, M as Mode } from './index-DySckW0r.js';
1
+ import { B as BuildContext, E as Environment, R as Runtime, I as IsolatedDeclarationsTransformer, F as Format, P as PackemRollupOptions, T as TransformerFn, d as BuildHooks, g as InternalOXCTransformPluginConfig, a as TransformerName, M as Mode } from './index-zikl8Yu3.js';
2
2
  import { StyleOptions } from '@visulima/rollup-css-plugin';
3
3
  import { JitiOptions } from 'jiti';
4
4
  import { TypeDocOptions } from 'typedoc';
@@ -1,5 +1,5 @@
1
- import { T as TransformerFn } from '../../../packem_shared/index-DySckW0r.js';
2
- export { e as EsbuildPluginConfig } from '../../../packem_shared/index-DySckW0r.js';
1
+ import { T as TransformerFn } from '../../../packem_shared/index-zikl8Yu3.js';
2
+ export { e as EsbuildPluginConfig } from '../../../packem_shared/index-zikl8Yu3.js';
3
3
  import '@rollup/plugin-alias';
4
4
  import '@rollup/plugin-commonjs';
5
5
  import '@rollup/plugin-json';
@@ -1,4 +1,4 @@
1
- import { f as IsolatedDeclarationsResult, T as TransformerFn } from '../../../packem_shared/index-DySckW0r.js';
1
+ import { f as IsolatedDeclarationsResult, T as TransformerFn } from '../../../packem_shared/index-zikl8Yu3.js';
2
2
  import { IsolatedDeclarationsOptions } from 'oxc-transform';
3
3
  import '@rollup/plugin-alias';
4
4
  import '@rollup/plugin-commonjs';
@@ -1,5 +1,5 @@
1
1
  export { o as default, default as isolatedDeclarationsOxcTransformer } from './isolated-declarations-oxc-transformer.js';
2
- import '../../../packem_shared/index-DySckW0r.js';
2
+ import '../../../packem_shared/index-zikl8Yu3.js';
3
3
  import '@rollup/plugin-alias';
4
4
  import '@rollup/plugin-commonjs';
5
5
  import '@rollup/plugin-json';
@@ -1,4 +1,4 @@
1
- export { h as SucrasePluginConfig, s as default } from '../../../packem_shared/index-DySckW0r.js';
1
+ export { h as SucrasePluginConfig, s as default } from '../../../packem_shared/index-zikl8Yu3.js';
2
2
  import '@rollup/plugin-alias';
3
3
  import '@rollup/plugin-commonjs';
4
4
  import '@rollup/plugin-json';
@@ -1,5 +1,5 @@
1
1
  export { i as default } from './swc-plugin.js';
2
- import '../../../packem_shared/index-DySckW0r.js';
2
+ import '../../../packem_shared/index-zikl8Yu3.js';
3
3
  import '@rollup/plugin-alias';
4
4
  import '@rollup/plugin-commonjs';
5
5
  import '@rollup/plugin-json';
@@ -1,5 +1,5 @@
1
- import { T as TransformerFn, f as IsolatedDeclarationsResult } from '../../../packem_shared/index-DySckW0r.js';
2
- export { S as SwcPluginConfig } from '../../../packem_shared/index-DySckW0r.js';
1
+ import { T as TransformerFn, f as IsolatedDeclarationsResult } from '../../../packem_shared/index-zikl8Yu3.js';
2
+ export { S as SwcPluginConfig } from '../../../packem_shared/index-zikl8Yu3.js';
3
3
  import '@rollup/plugin-alias';
4
4
  import '@rollup/plugin-commonjs';
5
5
  import '@rollup/plugin-json';
@@ -1,5 +1,5 @@
1
1
  import { TranspileOptions } from 'typescript';
2
- import { f as IsolatedDeclarationsResult } from '../../../packem_shared/index-DySckW0r.js';
2
+ import { f as IsolatedDeclarationsResult } from '../../../packem_shared/index-zikl8Yu3.js';
3
3
  import '@rollup/plugin-alias';
4
4
  import '@rollup/plugin-commonjs';
5
5
  import '@rollup/plugin-json';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@visulima/packem",
3
- "version": "2.0.0-alpha.4",
3
+ "version": "2.0.0-alpha.6",
4
4
  "description": "A fast and modern bundler for Node.js and TypeScript.",
5
5
  "keywords": [
6
6
  "anolilab",
@@ -167,14 +167,14 @@
167
167
  "@visulima/fs": "3.1.5",
168
168
  "@visulima/humanizer": "1.2.2",
169
169
  "@visulima/package": "3.5.8",
170
- "@visulima/packem-rollup": "1.0.0-alpha.4",
171
- "@visulima/packem-share": "1.0.0-alpha.4",
170
+ "@visulima/packem-rollup": "1.0.0-alpha.5",
171
+ "@visulima/packem-share": "1.0.0-alpha.5",
172
172
  "@visulima/pail": "2.1.25",
173
173
  "@visulima/path": "1.4.0",
174
- "@visulima/rollup-css-plugin": "1.0.0-alpha.4",
174
+ "@visulima/rollup-css-plugin": "1.0.0-alpha.5",
175
175
  "@visulima/source-map": "1.0.20",
176
176
  "@visulima/tsconfig": "1.1.19",
177
- "browserslist": "4.25.1",
177
+ "browserslist": "4.25.2",
178
178
  "defu": "6.1.4",
179
179
  "fastest-levenshtein": "1.0.16",
180
180
  "hookable": "5.5.3",