File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change 1- const { rm } = require ( 'fs/promises' )
2- const { join } = require ( 'path' )
3-
41const ensureNoCompetingPlugin = require ( './helpers/ensureNoCompetingPlugin' )
52const fixOutputDir = require ( './helpers/fixOutputDir' )
63const getAngularJson = require ( './helpers/getAngularJson' )
@@ -11,13 +8,6 @@ const validateAngularVersion = require('./helpers/validateAngularVersion')
118let isValidAngularProject = true
129
1310module . exports = {
14- async onDev ( { constants } ) {
15- // during local dev, the angular dev server will perform SSR,
16- // and we won't have the server output to generate the edge function.
17- // removing any edge function generated by a previous build ensures we don't try to use it.
18- const edgeFunctionDir = join ( constants . INTERNAL_EDGE_FUNCTIONS_SRC , 'angular-ssr' )
19- await rm ( edgeFunctionDir , { recursive : true } )
20- } ,
2111 async onPreBuild ( { netlifyConfig, utils, constants } ) {
2212 const { failBuild, failPlugin } = utils . build
2313 const siteRoot = getAngularRoot ( { failBuild, netlifyConfig } )
You can’t perform that action at this time.
0 commit comments