Skip to content

Commit 1ee6896

Browse files
committed
feat(templates): change build output dir to build instead of dist
1 parent a79c614 commit 1ee6896

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

generators/app/templates/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
"dev": "rollup -cw",
1414
"prebuild": "yarn clean",
1515
"build": "rollup -c",
16-
"postbuild": "copyfiles CHANGELOG.md LICENSE package.json README.md dist",
16+
"postbuild": "copyfiles CHANGELOG.md LICENSE package.json README.md build",
1717
"purge": "rm -rf node_modules",
18-
"clean": "rm -rf dist .rpt2_cache",
18+
"clean": "rm -rf build .rpt2_cache",
1919
"format": "prettier --write --ignore-path .gitignore .",
2020
"format:check": "prettier --check --ignore-path .gitignore .",
2121
"lint": "eslint --quiet --ignore-path .gitignore --ext .ts .",

generators/app/templates/rollup.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const getConfig = (inputFile) => ({
1313
input: inputFile,
1414
output: [
1515
{
16-
dir: 'dist',
16+
dir: 'build',
1717
format: 'cjs',
1818
sourcemap: true,
1919
exports: 'auto',

generators/app/templates/tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
"module": "es6",
55
"target": "es5",
66
"rootDir": "src",
7-
"outDir": "dist",
7+
"outDir": "build",
88
"declaration": true,
9-
"declarationDir": "dist",
9+
"declarationDir": "build",
1010
"esModuleInterop": true,
1111
"preserveConstEnums": true,
1212
"removeComments": true,

0 commit comments

Comments
 (0)