This repository was archived by the owner on Oct 1, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +1
-31
lines changed
Expand file tree Collapse file tree 3 files changed +1
-31
lines changed Original file line number Diff line number Diff line change 11'use strict'
22
3- const path = require ( 'path' )
4-
5- const esbuild = {
6- // this will inject all the named exports from 'node-globals.js' as globals
7- inject : [ path . join ( __dirname , 'scripts/node-globals.js' ) ] ,
8- plugins : [
9- {
10- name : 'node built ins' , // this will make the bundler resolve node builtins to the respective browser polyfill
11- setup ( build ) {
12- build . onResolve ( { filter : / ^ s t r e a m $ / } , ( ) => {
13- return { path : require . resolve ( 'readable-stream' ) }
14- } )
15- }
16- }
17- ]
18- }
19-
203/** @type {import('aegir').PartialOptions } */
214module . exports = {
22- test : {
23- browser : {
24- config : {
25- buildConfig : esbuild
26- }
27- }
28- } ,
295 build : {
30- bundlesizeMax : '45kB' ,
31- config : esbuild
6+ bundlesizeMax : '45kB'
327 }
338}
Original file line number Diff line number Diff line change 7676 "level-6" : " npm:level@^6.0.0" ,
7777 "ncp" : " ^2.0.0" ,
7878 "npm-run-all" : " ^4.1.5" ,
79- "readable-stream" : " ^3.6.0" ,
8079 "rimraf" : " ^3.0.0" ,
8180 "sinon" : " ^10.0.0" ,
8281 "stand-in" : " ^4.2.0" ,
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments