Compare commits
4 Commits
v0.1.0-dev
...
v0.1.0-dev
Author | SHA1 | Date |
---|---|---|
semantic-release-bot | acaaabc038 | |
Derrick Hammer | b0691eb2d2 | |
Derrick Hammer | 398bee7e03 | |
Derrick Hammer | 8cbdf3fa98 |
|
@ -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)
|
||||
|
||||
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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"
|
||||
},
|
||||
|
|
24
src/index.ts
24
src/index.ts
|
@ -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": {
|
||||
browser: true,
|
||||
preferBuiltins: false,
|
||||
},
|
||||
},
|
||||
plugins: [
|
||||
[
|
||||
"@apply @rollup/plugin-wasm[default]",
|
||||
{
|
||||
targetEnv: "auto-inline",
|
||||
},
|
||||
],
|
||||
],
|
||||
},
|
||||
// @ts-ignore
|
||||
browser: true,
|
||||
release: {
|
||||
plugins: {
|
||||
"3": ["@semantic-release/npm", { npmPublish: false }],
|
||||
|
|
Loading…
Reference in New Issue