feat: add postcss-loader by default

This commit is contained in:
Igor Randjelovic
2020-12-03 10:45:30 +01:00
parent fa70654bfc
commit 7df2f09cfc
3 changed files with 30 additions and 1 deletions

View File

@ -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)) {