Skip to content

Commit 6842f96

Browse files
authored
fix: ensure compatibility running test-loader last (#49)
1 parent e3ee135 commit 6842f96

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

nativescript.webpack.js

+1
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ function setupKarmaBuild(config, env, webpack) {
7070

7171
config.module
7272
.rule('unit-test')
73+
.enforce('post')
7374
.include.add(webpack.Utils.platform.getEntryDirPath()).end()
7475
.test(/\.(ts|js)/)
7576
.use('unit-test-loader')

0 commit comments

Comments
 (0)