Compare commits
No commits in common. "v4.0.2-develop.6" and "v4.0.2-develop.5" have entirely different histories.
v4.0.2-dev
...
v4.0.2-dev
|
@ -1,10 +1,3 @@
|
|||
## [4.0.2-develop.6](https://git.lumeweb.com/LumeWeb/presetter-preset-rollup/compare/v4.0.2-develop.5...v4.0.2-develop.6) (2023-06-30)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* add build:typescript:* to build script ([edf1960](https://git.lumeweb.com/LumeWeb/presetter-preset-rollup/commit/edf1960010004a72fba3b5b6d0649721977d594e))
|
||||
|
||||
## [4.0.2-develop.5](https://git.lumeweb.com/LumeWeb/presetter-preset-rollup/compare/v4.0.2-develop.4...v4.0.2-develop.5) (2023-06-30)
|
||||
|
||||
|
||||
|
|
|
@ -1,21 +1,21 @@
|
|||
input: '{source}/index.js'
|
||||
input: '{source}/index.ts'
|
||||
output:
|
||||
- file: '{output}/index.js'
|
||||
format: cjs
|
||||
sourcemap: true
|
||||
- file: '{output}/index.js'
|
||||
format: cjs
|
||||
sourcemap: true
|
||||
plugins:
|
||||
- '@apply @rollup/plugin-json[default]'
|
||||
- '@apply @rollup/plugin-node-resolve[default]'
|
||||
- - '@apply @rollup/plugin-commonjs[default]'
|
||||
- extensions:
|
||||
- .js
|
||||
- .jsx
|
||||
- .ts
|
||||
- .tsx
|
||||
- '@apply @rollup/plugin-graphql[default]'
|
||||
- '@apply @rollup/plugin-image[default]'
|
||||
- '@apply @rollup/plugin-yaml[default]'
|
||||
- - '@apply rollup-plugin-postcss[default]'
|
||||
- inject:
|
||||
insertAt: top
|
||||
- '@apply rollup-plugin-visualizer[visualizer]'
|
||||
- '@apply @rollup/plugin-json[default]'
|
||||
- '@apply @rollup/plugin-node-resolve[default]'
|
||||
- - '@apply @rollup/plugin-commonjs[default]'
|
||||
- extensions:
|
||||
- .js
|
||||
- .jsx
|
||||
- .ts
|
||||
- .tsx
|
||||
- '@apply @rollup/plugin-graphql[default]'
|
||||
- '@apply @rollup/plugin-image[default]'
|
||||
- '@apply @rollup/plugin-yaml[default]'
|
||||
- - '@apply rollup-plugin-postcss[default]'
|
||||
- inject:
|
||||
insertAt: top
|
||||
- '@apply rollup-plugin-visualizer[visualizer]'
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "presetter-preset-rollup",
|
||||
"version": "4.0.2-develop.6",
|
||||
"version": "4.0.2-develop.5",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "presetter-preset-rollup",
|
||||
"version": "4.0.2-develop.6",
|
||||
"version": "4.0.2-develop.5",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"presetter-types": "^4.0.1",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@lumeweb/presetter-preset-rollup",
|
||||
"version": "4.0.2-develop.6",
|
||||
"version": "4.0.2-develop.5",
|
||||
"description": "An opinionated presetter preset for using rollup as a bundler",
|
||||
"keywords": [
|
||||
"presetter",
|
||||
|
|
|
@ -41,13 +41,11 @@ export type Variable = {
|
|||
source: string;
|
||||
/** the directory containing all the compiled files (default: lib) */
|
||||
output: string;
|
||||
buildSource: string;
|
||||
};
|
||||
|
||||
export const DEFAULT_VARIABLE: Variable = {
|
||||
source: 'build',
|
||||
source: 'source',
|
||||
output: 'lib',
|
||||
buildSource: 'buildSource',
|
||||
};
|
||||
|
||||
/**
|
||||
|
@ -73,12 +71,8 @@ export default function (): PresetAsset {
|
|||
scripts: resolve(TEMPLATES, 'scripts.yaml'),
|
||||
noSymlinks: ['rollup.config.ts'],
|
||||
supplementaryConfig: {
|
||||
'gitignore': ['/rollup.config.ts'],
|
||||
'rollup': resolve(CONFIGS, 'rollup.yaml'),
|
||||
'tsconfig.build': {
|
||||
include: ['{buildSource}'],
|
||||
outDir: ['{source}'],
|
||||
},
|
||||
gitignore: ['/rollup.config.ts'],
|
||||
rollup: resolve(CONFIGS, 'rollup.yaml'),
|
||||
},
|
||||
variable: DEFAULT_VARIABLE,
|
||||
};
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# replace the `prepare` template from presetter-preset
|
||||
# so that the build procedure will not be triggered upon package installation
|
||||
build: cross-env NODE_ENV=production run-s clean build:rollup-config build:rollup build:typescript:*
|
||||
build: cross-env NODE_ENV=production run-s clean build:rollup-config build:rollup
|
||||
build:rollup-config: tsc -p tsconfig.config.json
|
||||
build:rollup: rollup --config rollup.config.js
|
||||
develop: cross-env NODE_ENV=development run-s "build:rollup -- --watch {@}" --
|
||||
|
|
Loading…
Reference in New Issue