Skip to content

Commit 10c0dbd

Browse files
committed
fix: fix tape usage on fs
1 parent 8322248 commit 10c0dbd

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

webpack/webpack.config.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,11 @@ module.exports = function(env/* @if jasmine || tape || mocha*/, { runTest }/* @e
115115
// @endif
116116
]
117117
},
118+
// @if tape
119+
node: {
120+
fs: 'empty',
121+
},
122+
// @endif
118123
plugins: [
119124
new HtmlWebpackPlugin({ template: 'index.ejs' })/* @if jasmine || tape || mocha*/,
120125
test && runTest && new WebpackShellPluginNext({ onBuildEnd: [ 'npm run test:headless' ]})/* @endif */

0 commit comments

Comments
 (0)