@reform/bundle
Advanced tools
Comparing version 0.6.0 to 0.6.2
@@ -24,2 +24,3 @@ import { IArgumentList } from "../internal"; | ||
readonly loader: Map<string, Loader>; | ||
readonly extensions: Set<string>; | ||
readonly publicPath = ""; | ||
@@ -29,2 +30,4 @@ constructor(config: IBuildContextConfig); | ||
addLoaders(loaders: [ext: string, loader: Loader][]): void; | ||
addExtensions(...extensions: string[]): void; | ||
getExtensions(): string[]; | ||
getLoaders(): [string, Loader][]; | ||
@@ -31,0 +34,0 @@ getRelative: (file: string) => string; |
@@ -12,2 +12,3 @@ "use strict"; | ||
this.loader = new Map(); | ||
this.extensions = new Set(); | ||
// @todo | ||
@@ -48,2 +49,8 @@ this.publicPath = ""; | ||
} | ||
addExtensions(...extensions) { | ||
extensions.forEach((ext) => this.extensions.add(`.${ext.replace(/^\.*/, "")}`)); | ||
} | ||
getExtensions() { | ||
return [...this.extensions.values()]; | ||
} | ||
getLoaders() { | ||
@@ -54,2 +61,2 @@ return [...this.loader.entries()]; | ||
exports.BuildContext = BuildContext; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQnVpbGRDb250ZXh0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL2J1aWxkL0J1aWxkQ29udGV4dC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQSwrQkFBOEI7QUFDOUIsc0NBQWdDO0FBQ2hDLDBDQUFrRDtBQUNsRCwyQ0FBNEM7QUFDNUMsK0NBQTBDO0FBYTFDLE1BQWEsWUFBWTtJQWNyQixZQUFZLE1BQTJCO1FBTHZCLFdBQU0sR0FBRyxJQUFJLEdBQUcsRUFBa0IsQ0FBQztRQUVuRCxRQUFRO1FBQ1EsZUFBVSxHQUFHLEVBQUUsQ0FBQztRQWlDekIsZ0JBQVcsR0FBRyxDQUFDLElBQVksRUFBRSxFQUFFO1lBQ2xDLE9BQU8sSUFBQSxlQUFR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QUU7WUFDakMsSUFBQSxpQkFBTSxFQUNGLENBQUMsSUFBSSxDQUFDLE1BQU0sQ0FBQyxHQUFHLENBQUMsR0FBRyxDQUFDLElBQUksSUFBSSxDQUFDLE1BQU0sQ0FBQyxHQUFHLENBQUMsR0FBRyxDQUFDLEtBQUssTUFBTSxFQUN4RCxVQUFVLE1BQU0sUUFBUSxHQUFHLGlCQUFpQixDQUMvQyxDQUFDO1lBRUYsSUFBSSxDQUFDLE1BQU0sQ0FBQyxHQUFHLENBQUMsSUFBSSxHQUFHLENBQUMsT0FBTyxDQUFDLE1BQU0sRUFBRSxFQUFFLENBQUMsRUFBRSxFQUFFLE1BQU0sQ0FBQyxDQUFDO1NBQzFEO0lBQ0wsQ0FBQztJQUVNLGFBQWEsQ0FBQyxHQUFHLFVBQW9CO1FBQ3hDLFVBQVUsQ0FBQyxPQUFPLENBQUMsQ0FBQyxHQUFHLEVBQUUsRUFBRSxDQUFDLElBQUksQ0FBQyxVQUFVLENBQUMsR0FBRyxDQUFDLElBQUksR0FBRyxDQUFDLE9BQU8sQ0FBQyxNQUFNLEVBQUUsRUFBRSxDQUFDLEVBQUUsQ0FBQyxDQUFDLENBQUM7SUFDcEYsQ0FBQztJQUVNLGFBQWE7UUFDaEIsT0FBTyxDQUFDLEdBQUcsSUFBSSxDQUFDLFVBQVUsQ0FBQyxNQUFNLEVBQUUsQ0FBQyxDQUFDO0lBQ3pDLENBQUM7SUFFTSxVQUFVO1FBQ2IsT0FBTyxDQUFDLEdBQUcsSUFBSSxDQUFDLE1BQU0sQ0FBQyxPQUFPLEVBQUUsQ0FBQyxDQUFDO0lBQ3RDLENBQUM7Q0FxQko7QUF6RUQsb0NBeUVDIn0= |
@@ -98,3 +98,3 @@ "use strict"; | ||
files, // eslint-disable-line | ||
bundle = true, loader = {}, plugins, sourcemap = args.isDevelopment, variables = {}, environment = [], entry: { paths: entryPoints }, ...options } = __classPrivateFieldGet(this, _BundleScript_config, "f"); | ||
bundle = true, loader = {}, plugins, extensions = ["js", "jsx", "ts", "tsx", "css"], sourcemap = args.isDevelopment, variables = {}, environment = [], entry: { paths: entryPoints }, ...options } = __classPrivateFieldGet(this, _BundleScript_config, "f"); | ||
const variableStore = { ...variables, ...dotEnvVariables, ...process.env }; | ||
@@ -108,2 +108,3 @@ const keys = new Set([...environment, ...Object.keys(variables)]); | ||
define["DEVELOPMENT"] = !define["PRODUCTION"]; | ||
// this.#context.addExtensions("js", "jsx", "ts", "tsx"); | ||
return { | ||
@@ -115,2 +116,3 @@ define, | ||
entryPoints, | ||
// resolveExtensions: this.#context.getExtensions(), | ||
entryNames: "build/[name].[hash]", | ||
@@ -131,2 +133,2 @@ chunkNames: "build/chunk/[name].[hash]", | ||
_BundleScript_config = new WeakMap(), _BundleScript_context = new WeakMap(); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQnVuZGxlU2NyaXB0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL2J1aWxkL0J1bmRsZVNjcmlwdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFBQSxtQ0FBaUQ7QUFDakQscUNBQTBEO0FBQzFELDBDQUFpRztBQUNqRyxnRUFBd0M7QUFJeEMsTUFBYSxZQUFZO0lBSXJCLFlBQVksT0FBcUIsRUFBRSxNQUEyQjtRQUg5RCx1Q0FBc0M7UUFDdEMsd0NBQWdDO1FBRzVCLHVCQUFBLElBQUksd0JBQVcsTUFBTSxNQUFBLENBQUM7UUFDdEIsdUJBQUEsSUFBSSx5QkFBWSxPQUFPLE1BQUEsQ0FBQztJQUM1QixDQUFDO0lBRUQsSUFBVyxFQUFFO1FBQ1QsT0FBTyx1QkFBQSxJQUFJLDZCQUFTLENBQUMsRUFBRSxDQUFDO0lBQzVCLENBQUM7SUFFRCxJQUFXLElBQUk7UUFDWCxPQUFPLHVCQUFBLElBQUksN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RSxJQUFBLHlCQUFjLEVBQUMsSUFBSSxDQUFDLElBQUksRUFBRSxlQUFlLENBQUM7WUFDcEQsTUFBTSxFQUFFLElBQUEsc0JBQVcsRUFBQyxHQUFHLHVCQUFBLElBQUksNkJBQVMsQ0FBQyxVQUFVLEVBQUUsRUFBRSxHQUFHLElBQUEsa0JBQU8sRUFBQyxNQUFNLENBQUMsQ0FBQztZQUN0RSxHQUFHLE9BQU87U0FDYixDQUFDO0lBQ04sQ0FBQztDQUNKO0FBMUlELG9DQTBJQyJ9 |
@@ -32,2 +32,3 @@ import { Format, Loader, Platform, Plugin, TreeShaking } from "esbuild"; | ||
sourcemap?: SourceMapVariant; | ||
extensions?: string[]; | ||
} | ||
@@ -34,0 +35,0 @@ export interface IBundleScriptConfig extends IBundleConfig { |
@@ -8,7 +8,6 @@ /// <reference types="node" /> | ||
export declare type FileContentType = string | Buffer; | ||
export declare type FileContentTransform<T extends FileContentType | null> = T extends null ? undefined : (contents: T) => T; | ||
export declare type FileContentTransform<T extends FileContentType> = (contents: T) => T; | ||
export interface FileConfig<T extends FileContentType | null = null> { | ||
readonly prefix: FilePrefix; | ||
readonly relative: string; | ||
readonly transform?: T extends null ? never : FileContentTransform<T>; | ||
} | ||
@@ -22,2 +21,3 @@ export declare class File<T extends FileContentType | null = null> extends ResourceAbstract { | ||
get config(): FileConfig<T>; | ||
includes(chunk: string): boolean | undefined; | ||
hasContent(this: File<T>): this is File<FileContentType>; | ||
@@ -30,3 +30,3 @@ static factory(config: FileConfig<null>): File<null>; | ||
read(this: File<T>, enc: FileEnc): Promise<File<string>>; | ||
transform<S extends FileContentType>(this: File<S>, transform: FileContentTransform<T>): Promise<File<FileContentType>>; | ||
transform<S extends FileContentType>(this: File<S>, transform: FileContentTransform<S>): File<S>; | ||
copy<S extends FileContentType>(this: File<S>, dest: File<null>): Promise<File<S>>; | ||
@@ -33,0 +33,0 @@ write<N extends FileContentType>(contents: N): Promise<this>; |
@@ -16,3 +16,3 @@ "use strict"; | ||
}; | ||
var _File_transform, _File_contents, _File_hash, _File_config; | ||
var _File_contents, _File_hash, _File_config; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -28,3 +28,2 @@ exports.File = void 0; | ||
super(config.prefix, config.relative); | ||
_File_transform.set(this, void 0); | ||
_File_contents.set(this, void 0); | ||
@@ -35,3 +34,2 @@ _File_hash.set(this, void 0); | ||
__classPrivateFieldSet(this, _File_contents, contents, "f"); | ||
__classPrivateFieldSet(this, _File_transform, config.transform, "f"); | ||
} | ||
@@ -50,2 +48,5 @@ get id() { | ||
} | ||
includes(chunk) { | ||
return __classPrivateFieldGet(this, _File_contents, "f")?.includes(chunk); | ||
} | ||
hasContent() { | ||
@@ -65,5 +66,4 @@ return this.contents !== null; | ||
} | ||
async transform(transform) { | ||
const { prefix, relative } = this; | ||
return File.factory({ prefix, relative, transform }, this.contents); | ||
transform(transform) { | ||
return new File(this.config, transform(this.contents)); | ||
} | ||
@@ -110,3 +110,3 @@ async copy(dest) { | ||
exports.File = File; | ||
_File_transform = new WeakMap(), _File_contents = new WeakMap(), _File_hash = new WeakMap(), _File_config = new WeakMap(); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRmlsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9idWlsZC9SZXNvdXJjZXMvRmlsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFBQSwrQkFBdUM7QUFDdkMsMENBQTZEO0FBQzdELHlEQUFvRDtBQUVwRCxtRUFBMkM7QUFDM0MsbUNBQWtDO0FBZ0JsQyxNQUFhLElBQThDLFNBQVEsbUNBQWdCO0lBTy9FLFlBQVksTUFBcUIsRUFBRSxRQUFXO1FBQzFDLEtBQUssQ0FBQyxNQUFNLENBQUMsTUFBTSxFQUFFLE1BQU0sQ0FBQyxRQUFRLENBQ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zthQUMxQixNQUFNLENBQUMsSUFBSSxDQUFDLFFBQVEsQ0FBQzthQUNyQixNQUFNLENBQUMsS0FBSyxDQUFDLE1BQUEsQ0FBQztRQUVuQixPQUFPLHVCQUFBLElBQUksa0JBQU0sQ0FBQyxNQUFNLENBQUMsQ0FBQyxFQUFFLEdBQUcsQ0FBQyxDQUFDO0lBQ3JDLENBQUM7Q0FDSjtBQTlHRCxvQkE4R0MifQ== |
{ | ||
"name": "@reform/bundle", | ||
"version": "0.6.0", | ||
"version": "0.6.2", | ||
"main": "dist/index.js", | ||
@@ -45,3 +45,3 @@ "types": "dist/index.d.ts", | ||
"license": "MIT", | ||
"gitHead": "68cc158c55fa604fbdeb2224d09c54b693637787" | ||
"gitHead": "029505aa845c16824655dbfccbe0c70df7b11f79" | ||
} |
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
142159
2000