Compare commits
3 Commits
v4.1.0-dev
...
v4.1.0-dev
Author | SHA1 | Date |
---|---|---|
semantic-release-bot | b12a82826e | |
Derrick Hammer | b50e9b4428 | |
Derrick Hammer | 2077d4e70d |
|
@ -1,3 +1,10 @@
|
|||
# [4.1.0-develop.2](https://git.lumeweb.com/LumeWeb/presetter-preset-rollup/compare/v4.1.0-develop.1...v4.1.0-develop.2) (2023-07-02)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* use optional chain syntax as the property might not be set ([2077d4e](https://git.lumeweb.com/LumeWeb/presetter-preset-rollup/commit/2077d4e70d37e7cf7f23a3db8e2d93ca414b1e2d))
|
||||
|
||||
# [4.1.0-develop.1](https://git.lumeweb.com/LumeWeb/presetter-preset-rollup/compare/v4.0.2-develop.12...v4.1.0-develop.1) (2023-07-02)
|
||||
|
||||
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "@lumeweb/presetter-preset-rollup",
|
||||
"version": "4.1.0-develop.1",
|
||||
"version": "4.1.0-develop.2",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@lumeweb/presetter-preset-rollup",
|
||||
"version": "4.1.0-develop.1",
|
||||
"version": "4.1.0-develop.2",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"presetter-preset-strict": "^4.0.1",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@lumeweb/presetter-preset-rollup",
|
||||
"version": "4.1.0-develop.1",
|
||||
"version": "4.1.0-develop.2",
|
||||
"description": "An opinionated presetter preset for using rollup as a bundler",
|
||||
"keywords": [
|
||||
"presetter",
|
||||
|
|
|
@ -77,7 +77,7 @@ export default function (): PresetAsset {
|
|||
'gitignore': ['/rollup.config.ts'],
|
||||
'rollup': (context) => {
|
||||
const content = loadFile(resolve(CONFIGS, 'rollup.yaml')) as any;
|
||||
if (context.custom.config.browser) {
|
||||
if (context.custom?.config?.browser) {
|
||||
let plugins = content.plugins.map((item) =>
|
||||
Array.isArray(item) ? item[0] : item,
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue