mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 03:31:45 +08:00
feat(webpack5): initial project files
This commit is contained in:
15
packages/webpack5/src/configuration/vue.ts
Normal file
15
packages/webpack5/src/configuration/vue.ts
Normal file
@ -0,0 +1,15 @@
|
||||
import base from './base';
|
||||
|
||||
// todo: add base configuration for vue
|
||||
export default function (env) {
|
||||
const config = base(env);
|
||||
|
||||
// todo: we may want to use webpack-chain internally
|
||||
// to avoid "trying to read property x of undefined" type of issues
|
||||
config.module.rules.push({
|
||||
test: /.vue$/,
|
||||
use: [],
|
||||
});
|
||||
|
||||
return {};
|
||||
}
|
Reference in New Issue
Block a user