Skip to content

Commit

Permalink
ci(Netlify): Try some options to speed up build [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcusNotheis committed Jul 18, 2019
1 parent 2a8397c commit 0c9b143
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ build
.out
lerna-debug.log
packages/main/scripts/wrapperGeneration/json
.awcache
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
"chai": "^4.2.0",
"chai-karma-snapshot": "^0.8.0",
"chalk": "^2.4.2",
"ci-info": "^2.0.0",
"cli-table": "^0.3.1",
"coveralls": "^3.0.3",
"cross-env": "^5.2.0",
Expand Down
6 changes: 5 additions & 1 deletion packages/docs/.storybook/webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
const { highlightLog } = require('../../../scripts/utils');
const path = require('path');
const ci = require('ci-info');
const PATHS = require('../../../config/paths');
require('dotenv').config({
path: path.join(PATHS.root, '.env')
Expand All @@ -12,7 +13,10 @@ module.exports = ({ config }) => {
{
loader: require.resolve('awesome-typescript-loader'),
options: {
errorsAsWarnings: true
errorsAsWarnings: true,
transpileOnly: ci.NETLIFY,
useCache: true,
forceIsolatedModules: true
}
}
]
Expand Down

0 comments on commit 0c9b143

Please sign in to comment.