Skip to content
This repository was archived by the owner on Mar 25, 2024. It is now read-only.

Commit f942b11

Browse files
refactor(tools): rename output directory as dist
1 parent e0763ad commit f942b11

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,5 @@ testem.log
4040
Thumbs.db
4141

4242
# build artifacts
43-
/buildOutput
43+
/dist
4444
/codegen

.vscode/settings.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
// Consente di configurare i criteri di ricerca GLOB per escludere file e cartelle.
1414
"files.exclude": {
15-
"**/buildOutput": true,
15+
"**/dist": true,
1616
"**/codegen": true,
1717
"**/coverage": true,
1818
"**/node_modules": true,
@@ -26,13 +26,13 @@
2626

2727
// Configure glob patterns of file paths to exclude from file watching. Changing this setting requires a restart. When you experience Code consuming lots of cpu time on startup, you can exclude large folders to reduce the initial load.
2828
"files.watcherExclude": {
29-
"**/buildOutput": true,
29+
"**/dist": true,
3030
"**/codegen": true
3131
},
3232

3333
// Configure glob patterns for excluding files and folders in searches. Inherits all glob patterns from the files.exclude setting.
3434
"search.exclude": {
35-
"**/buildOutput": true,
35+
"**/dist": true,
3636
"**/codegen": true
3737
},
3838

bs-config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ module.exports = {
1111
ignored: '**'
1212
},
1313
server: {
14-
baseDir: './buildOutput',
14+
baseDir: './dist',
1515
}
1616
}

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
"version": "0.1.0",
44
"description": "Web client application",
55
"private": true,
6-
"main": "./buildOutput/js/main-bundle.js",
6+
"main": "./dist/js/main-bundle.js",
77
"scripts": {
8-
"clean": "rimraf ./buildOutput/*",
8+
"clean": "rimraf ./dist/*",
99

1010
"bundle": "npm run bundle-dev",
1111
"bundle-dev": "webpack --config ./webpack.config.dev.js --display-error-details --display-cached --progress --profile --colors",

webpack.common.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,15 @@ var clientSrc = path.join(clientRoot, 'src');
2727

2828
var absPaths = {
2929
clientSrc: clientSrc,
30-
buildOutput: path.join(clientRoot, 'buildOutput'),
30+
buildOutput: path.join(clientRoot, 'dist'),
3131
nodeModules: path.join(clientRoot, 'node_modules'),
3232
coverage: path.join(clientRoot, 'coverage'),
3333

3434
staticFiles: path.join(clientSrc, 'static'),
3535
};
3636

3737
var relPaths = {
38-
localDevRoot: 'buildOutput/',
38+
localDevRoot: 'dist/',
3939

4040
// keep leading `./` in entry point relative paths
4141
mainEntryJit: './src/main.browser.ts',
@@ -59,7 +59,7 @@ var patterns = {
5959
angularContext: /angular(\\|\/)core(\\|\/)@angular/,
6060
clientSrc: /src/,
6161
styles: /styles/,
62-
buildOutput: /buildOutput/,
62+
buildOutput: /dist/,
6363
nodeModules: /node_modules/,
6464
};
6565

0 commit comments

Comments
 (0)