Compare commits

..

4 Commits

4 changed files with 17 additions and 30 deletions

View File

@ -1,3 +1,10 @@
# [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.23",
"version": "0.1.0-develop.24",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@lumeweb/presetter-kernel-module-preset",
"version": "0.1.0-develop.23",
"version": "0.1.0-develop.24",
"dependencies": {
"@lumeweb/node-library-preset": "0.2.7",
"@lumeweb/presetter-preset-rollup": "4.0.2-develop.12",
"@lumeweb/presetter-preset-rollup": "4.1.0-develop.1",
"@rollup/plugin-typescript": "^11.1.2",
"@rollup/plugin-wasm": "^6.1.3"
},
@ -1676,9 +1676,9 @@
}
},
"node_modules/@lumeweb/presetter-preset-rollup": {
"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==",
"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==",
"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.23",
"version": "0.1.0-develop.24",
"type": "module",
"main": "lib/index.js",
"repository": {
@ -18,7 +18,7 @@
},
"dependencies": {
"@lumeweb/node-library-preset": "0.2.7",
"@lumeweb/presetter-preset-rollup": "4.0.2-develop.12",
"@lumeweb/presetter-preset-rollup": "4.1.0-develop.1",
"@rollup/plugin-typescript": "^11.1.2",
"@rollup/plugin-wasm": "^6.1.3"
},

View File

@ -1,8 +1,5 @@
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
@ -20,25 +17,8 @@ export default async function (context: PresetContext): Promise<PresetAsset> {
],
supplementaryIgnores: ignores,
supplementaryConfig: {
rollup: {
output: {
"0": {
inlineDynamicImports: true,
},
"1": {
// @ts-ignore
browser: true,
preferBuiltins: false,
},
},
plugins: [
[
"@apply @rollup/plugin-wasm[default]",
{
targetEnv: "auto-inline",
},
],
],
},
release: {
plugins: {
"3": ["@semantic-release/npm", { npmPublish: false }],