Skip to content

Commit

Permalink
AddAssets: instead of addFiles
Browse files Browse the repository at this point in the history
  • Loading branch information
sviande committed Oct 19, 2021
1 parent 70a96b2 commit ac90e88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,14 @@ function addPackageFiles(api) {
api.use('inject-initial');
}

api.addFiles([
api.addAssets([
'assets/utils.js',
'assets/before.js',
'assets/zone.js',
'assets/after.js',
'assets/reporters.js',
'assets/tracer.js',
], 'client', {isAsset: true});
], 'client');

api.addFiles(['server/inject.js'], 'server');

Expand Down

0 comments on commit ac90e88

Please sign in to comment.