Compare commits

..

No commits in common. "v0.1.0-develop.24" and "v0.1.0-develop.23" have entirely different histories.

4 changed files with 30 additions and 17 deletions

View File

@ -1,10 +1,3 @@
# [0.1.0-develop.24](https://git.lumeweb.com/LumeWeb/presetter-kernel-module-preset/compare/v0.1.0-develop.23...v0.1.0-develop.24) (2023-07-02)
### Bug Fixes
* pass browser to supplementaryConfig ([398bee7](https://git.lumeweb.com/LumeWeb/presetter-kernel-module-preset/commit/398bee7e03284720e62f3550e1ff72d67ab12c0d))
# [0.1.0-develop.23](https://git.lumeweb.com/LumeWeb/presetter-kernel-module-preset/compare/v0.1.0-develop.22...v0.1.0-develop.23) (2023-07-02)

12
npm-shrinkwrap.json generated
View File

@ -1,15 +1,15 @@
{
"name": "@lumeweb/presetter-kernel-module-preset",
"version": "0.1.0-develop.24",
"version": "0.1.0-develop.23",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@lumeweb/presetter-kernel-module-preset",
"version": "0.1.0-develop.24",
"version": "0.1.0-develop.23",
"dependencies": {
"@lumeweb/node-library-preset": "0.2.7",
"@lumeweb/presetter-preset-rollup": "4.1.0-develop.1",
"@lumeweb/presetter-preset-rollup": "4.0.2-develop.12",
"@rollup/plugin-typescript": "^11.1.2",
"@rollup/plugin-wasm": "^6.1.3"
},
@ -1676,9 +1676,9 @@
}
},
"node_modules/@lumeweb/presetter-preset-rollup": {
"version": "4.1.0-develop.1",
"resolved": "https://registry.npmjs.org/@lumeweb/presetter-preset-rollup/-/presetter-preset-rollup-4.1.0-develop.1.tgz",
"integrity": "sha512-HkLJq4yo4UntqXzWbSWOVsfZF/n8xWbKWOkqswqwfqDzjSuzkximLyeBe1AtQqdqHbQdd75vDy7/OuvzShHAog==",
"version": "4.0.2-develop.12",
"resolved": "https://registry.npmjs.org/@lumeweb/presetter-preset-rollup/-/presetter-preset-rollup-4.0.2-develop.12.tgz",
"integrity": "sha512-KP3w5EglJh481swp4Qc7uxUpQMMN8oGk6140YQojov8/EBj4aTCk8Pd0XH9Pkt0vScacb/HjWMIHkRhClnx9tQ==",
"dependencies": {
"presetter-preset-strict": "^4.0.1",
"presetter-types": "^4.0.1",

View File

@ -1,6 +1,6 @@
{
"name": "@lumeweb/presetter-kernel-module-preset",
"version": "0.1.0-develop.24",
"version": "0.1.0-develop.23",
"type": "module",
"main": "lib/index.js",
"repository": {
@ -18,7 +18,7 @@
},
"dependencies": {
"@lumeweb/node-library-preset": "0.2.7",
"@lumeweb/presetter-preset-rollup": "4.1.0-develop.1",
"@lumeweb/presetter-preset-rollup": "4.0.2-develop.12",
"@rollup/plugin-typescript": "^11.1.2",
"@rollup/plugin-wasm": "^6.1.3"
},

View File

@ -1,5 +1,8 @@
import type { PresetAsset } from "presetter-types";
import { PresetContext } from "presetter-types";
import { createRequire } from "node:module";
const require = createRequire(import.meta.url);
/**
* get the list of templates provided by this preset
@ -17,8 +20,25 @@ export default async function (context: PresetContext): Promise<PresetAsset> {
],
supplementaryIgnores: ignores,
supplementaryConfig: {
// @ts-ignore
browser: true,
rollup: {
output: {
"0": {
inlineDynamicImports: true,
},
"1": {
browser: true,
preferBuiltins: false,
},
},
plugins: [
[
"@apply @rollup/plugin-wasm[default]",
{
targetEnv: "auto-inline",
},
],
],
},
release: {
plugins: {
"3": ["@semantic-release/npm", { npmPublish: false }],