Compare commits
No commits in common. "v4.1.0-develop.2" and "v4.1.0-develop.1" have entirely different histories.
v4.1.0-dev
...
v4.1.0-dev
|
@ -1,10 +1,3 @@
|
|||
# [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.2",
|
||||
"version": "4.1.0-develop.1",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@lumeweb/presetter-preset-rollup",
|
||||
"version": "4.1.0-develop.2",
|
||||
"version": "4.1.0-develop.1",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"presetter-preset-strict": "^4.0.1",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@lumeweb/presetter-preset-rollup",
|
||||
"version": "4.1.0-develop.2",
|
||||
"version": "4.1.0-develop.1",
|
||||
"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