Comparing version 0.9.0--canary.24.8923fde.0 to 0.9.0
@@ -62,3 +62,4 @@ "use strict"; | ||
// when user imports wasm with webassembly type, it's not possible to pass env | ||
runtime: ((_a = module.type) === null || _a === void 0 ? void 0 : _a.startsWith("webassembly")) ? "stub" : "incremental", exportRuntime: !((_b = module.type) === null || _b === void 0 ? void 0 : _b.startsWith("webassembly")), debug: this.mode === "development", optimizeLevel: 3, shrinkLevel: 1, noAssert: this.mode === "production" }, userAscOptions); | ||
runtime: ((_a = module.type) === null || _a === void 0 ? void 0 : _a.startsWith("webassembly")) ? "stub" : "incremental", exportRuntime: !((_b = module.type) === null || _b === void 0 ? void 0 : _b.startsWith("webassembly")) && | ||
userAscOptions.exportRuntime !== "stub", debug: this.mode === "development", optimizeLevel: 3, shrinkLevel: 1, noAssert: this.mode === "production" }, userAscOptions); | ||
if (!SUPPORTED_EXTENSIONS.some(function (extension) { return name.endsWith(extension); })) { | ||
@@ -65,0 +66,0 @@ throw new Error("Unsupported extension in name: \"" + name + "\" option in as-loader. " + |
{ | ||
"name": "as-loader", | ||
"version": "0.9.0--canary.24.8923fde.0", | ||
"version": "0.9.0", | ||
"description": "AssemblyScript loader for webpack", | ||
@@ -5,0 +5,0 @@ "main": "loader/index.js", |
61762