Compare commits

..

3 Commits

Author SHA1 Message Date
semantic-release-bot b12a82826e chore(release): 4.1.0-develop.2 [skip ci]
# [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](2077d4e70d))
2023-07-02 15:35:41 +00:00
Derrick Hammer b50e9b4428
Merge remote-tracking branch 'origin/develop' into develop 2023-07-02 11:34:48 -04:00
Derrick Hammer 2077d4e70d
fix: use optional chain syntax as the property might not be set 2023-07-02 11:34:41 -04:00
4 changed files with 11 additions and 4 deletions

View File

@ -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) # [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)

4
npm-shrinkwrap.json generated
View File

@ -1,12 +1,12 @@
{ {
"name": "@lumeweb/presetter-preset-rollup", "name": "@lumeweb/presetter-preset-rollup",
"version": "4.1.0-develop.1", "version": "4.1.0-develop.2",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@lumeweb/presetter-preset-rollup", "name": "@lumeweb/presetter-preset-rollup",
"version": "4.1.0-develop.1", "version": "4.1.0-develop.2",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"presetter-preset-strict": "^4.0.1", "presetter-preset-strict": "^4.0.1",

View File

@ -1,6 +1,6 @@
{ {
"name": "@lumeweb/presetter-preset-rollup", "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", "description": "An opinionated presetter preset for using rollup as a bundler",
"keywords": [ "keywords": [
"presetter", "presetter",

View File

@ -77,7 +77,7 @@ export default function (): PresetAsset {
'gitignore': ['/rollup.config.ts'], 'gitignore': ['/rollup.config.ts'],
'rollup': (context) => { 'rollup': (context) => {
const content = loadFile(resolve(CONFIGS, 'rollup.yaml')) as any; 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) => let plugins = content.plugins.map((item) =>
Array.isArray(item) ? item[0] : item, Array.isArray(item) ? item[0] : item,
); );