Skip to content

Commit

Permalink
Reset paths in uglify grunt task
Browse files Browse the repository at this point in the history
change to exclusive list rather than inclusive, only a few libs need to
be minified during our build step
  • Loading branch information
thostetler committed Aug 30, 2021
1 parent 47820be commit 241e241
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 18,688 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ jobs:
architecture: 'x64'
- run: npm install -g grunt-cli
- run: npm ci
- run: grunt --stack setup
- run: grunt --stack test:prod
- run: npm run test:prod

- name: Coveralls
uses: coverallsapp/github-action@master
Expand Down
17 changes: 6 additions & 11 deletions grunt/uglify.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,12 @@ module.exports = {
src: [
'config/*.js',
'js/**/*.js',
'libs/**/*.js',
'!babel.js',
'!requirejs-plugins/*.js',
'!sprintf.js',
'!sinon.js',
'!enzyme.js',
'!mocha.js',
'!chai.js',
'!mathjax/**/*.js',
'!bootstrap/**/*.js',
'!fontawesome/**/*.js',
'libs/d3-cloud.js',
'libs/react-async.js',
'libs/react-flexview.js',
'libs/cache.js',
'libs/backbone.stickit.js',
'libs/yup.js',
],
dest: 'dist',
},
Expand Down
Loading

0 comments on commit 241e241

Please sign in to comment.