This commit is contained in:
Ivan
2021-06-07 11:56:04 +08:00
commit c3c9fee2fb
1071 changed files with 195655 additions and 0 deletions

10
test/ssr/require.test.js Normal file
View File

@@ -0,0 +1,10 @@
const path = require('path');
try {
process.env.VUE_ENV = 'server';
require(path.join(process.env.PWD, './lib/index'));
console.log('SSR require test PASS');
} catch (e) {
console.error('SSR require test error');
throw Error(e);
}