@rsaf/bundler 0.0.6 → 0.0.7
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/dist/bundler/config.js +0 -4
- package/dist/types/config.d.ts +0 -2
- package/package.json +1 -1
package/dist/bundler/config.js
CHANGED
|
@@ -101,7 +101,6 @@ export function createServerConfig(env, options) {
|
|
|
101
101
|
...NO_ASSET_LOADERS,
|
|
102
102
|
},
|
|
103
103
|
bundle: false,
|
|
104
|
-
packages: 'external',
|
|
105
104
|
minify: false,
|
|
106
105
|
minifyWhitespace: false,
|
|
107
106
|
minifyIdentifiers: false,
|
|
@@ -109,7 +108,6 @@ export function createServerConfig(env, options) {
|
|
|
109
108
|
write: false,
|
|
110
109
|
splitting: false,
|
|
111
110
|
metafile: true,
|
|
112
|
-
external: ['react', 'react-dom'],
|
|
113
111
|
};
|
|
114
112
|
}
|
|
115
113
|
else {
|
|
@@ -122,7 +120,6 @@ export function createServerConfig(env, options) {
|
|
|
122
120
|
...NO_ASSET_LOADERS,
|
|
123
121
|
},
|
|
124
122
|
bundle: false,
|
|
125
|
-
packages: 'external',
|
|
126
123
|
minify: true,
|
|
127
124
|
minifyWhitespace: true,
|
|
128
125
|
minifyIdentifiers: true,
|
|
@@ -130,7 +127,6 @@ export function createServerConfig(env, options) {
|
|
|
130
127
|
write: true,
|
|
131
128
|
splitting: true,
|
|
132
129
|
metafile: false,
|
|
133
|
-
external: ['react', 'react-dom'],
|
|
134
130
|
};
|
|
135
131
|
}
|
|
136
132
|
}
|
package/dist/types/config.d.ts
CHANGED
|
@@ -61,8 +61,6 @@ export interface ESBuildServerConfig {
|
|
|
61
61
|
loader: LoaderFiles;
|
|
62
62
|
/** Prevents node_modules from being bundled into the server file. */
|
|
63
63
|
packages: 'external';
|
|
64
|
-
/** Specific package names to explicitly exclude from the bundle. */
|
|
65
|
-
external: string[];
|
|
66
64
|
/** Disabled for server to leverage native Node module resolution. */
|
|
67
65
|
bundle: false;
|
|
68
66
|
}
|