diff --git a/packages/angular/scripts/build-core.js b/packages/angular/scripts/build-core.js index 7c4663cb70..ee3e789bd2 100644 --- a/packages/angular/scripts/build-core.js +++ b/packages/angular/scripts/build-core.js @@ -6,12 +6,12 @@ const typescriptPath = path.join(__dirname, '..', 'node_modules', '.bin'); /** * Copy the CSS from the core package to the angular package. - * + * * This allows developers to import the global stylesheets - * from the @ionic/angular package instead of @ionic/core. + * from the @ionic/angular package instead of @ionic/core. */ function copyCSS() { - const src = path.join(__dirname, '..', '..', '..', 'core', 'css'); + const src = path.join(__dirname, '..', '..', 'core', 'css'); const dst = path.join(__dirname, '..','dist', 'css'); fs.removeSync(dst); diff --git a/packages/core/stencil.config.ts b/packages/core/stencil.config.ts index 9340c12d86..f2e362ba2b 100644 --- a/packages/core/stencil.config.ts +++ b/packages/core/stencil.config.ts @@ -34,14 +34,14 @@ const getAngularOutputTargets = () => { return [ angularOutputTarget({ componentCorePackage, - directivesProxyFile: '../packages/angular/src/directives/proxies.ts', - directivesArrayFile: '../packages/angular/src/directives/proxies-list.ts', + directivesProxyFile: '../angular/src/directives/proxies.ts', + directivesArrayFile: '../angular/src/directives/proxies-list.ts', excludeComponents, outputType: 'component', }), angularOutputTarget({ componentCorePackage, - directivesProxyFile: '../packages/angular/standalone/src/directives/proxies.ts', + directivesProxyFile: '../angular/standalone/src/directives/proxies.ts', excludeComponents: [ ...excludeComponents, /** @@ -130,7 +130,7 @@ export const config: Config = { includeImportCustomElements: true, includePolyfills: false, includeDefineCustomElements: false, - proxiesFile: '../packages/react/src/components/proxies.ts', + proxiesFile: '../react/src/components/proxies.ts', excludeComponents: [ // Routing 'ion-router', @@ -167,7 +167,7 @@ export const config: Config = { includeImportCustomElements: true, includePolyfills: false, includeDefineCustomElements: false, - proxiesFile: '../packages/vue/src/proxies.ts', + proxiesFile: '../vue/src/proxies.ts', excludeComponents: [ // Routing 'ion-router', diff --git a/packages/react/scripts/copy.js b/packages/react/scripts/copy.js index da56f010f2..ed678cec6e 100644 --- a/packages/react/scripts/copy.js +++ b/packages/react/scripts/copy.js @@ -2,12 +2,12 @@ const fs = require('fs-extra'); const path = require('path'); /** * Copy the CSS from the core package to the react package. - * + * * This allows developers to import the global stylesheets - * from the @ionic/react package instead of @ionic/core. + * from the @ionic/react package instead of @ionic/core. */ function copyCSS() { - const src = path.join(__dirname, '..', '..', '..', 'core', 'css'); + const src = path.join(__dirname, '..', '..', 'core', 'css'); const dst = path.join(__dirname, '..', 'css'); fs.removeSync(dst); diff --git a/packages/vue/scripts/copy-css.js b/packages/vue/scripts/copy-css.js index 90bea3cbe2..8249babc26 100644 --- a/packages/vue/scripts/copy-css.js +++ b/packages/vue/scripts/copy-css.js @@ -3,12 +3,12 @@ const path = require('path'); /** * Copy the CSS from the core package to the vue package. - * + * * This allows developers to import the global stylesheets - * from the @ionic/vue package instead of @ionic/core. + * from the @ionic/vue package instead of @ionic/core. */ function copyCSS() { - const src = path.join(__dirname, '..', '..', '..', 'core', 'css'); + const src = path.join(__dirname, '..', '..', 'core', 'css'); const dst = path.join(__dirname, '..', 'css'); fs.removeSync(dst);