mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-15 19:26:42 +08:00
feat: add postcss-loader by default
This commit is contained in:
@ -9,6 +9,11 @@ import { clearCurrentPlugin, setCurrentPlugin } from '../index';
|
||||
export function applyExternalConfigs() {
|
||||
getAllDependencies().forEach((dependency) => {
|
||||
const packagePath = getDependencyPath(dependency);
|
||||
|
||||
if (!packagePath) {
|
||||
return;
|
||||
}
|
||||
|
||||
const configPath = path.join(packagePath, 'nativescript.webpack.js');
|
||||
|
||||
if (fs.existsSync(configPath)) {
|
||||
|
Reference in New Issue
Block a user