chore: fix paths

This commit is contained in:
Liam DeBeasi
2024-03-08 01:46:32 +00:00
parent bef3e77f01
commit c200c36f11
4 changed files with 14 additions and 14 deletions

View File

@ -6,12 +6,12 @@ const typescriptPath = path.join(__dirname, '..', 'node_modules', '.bin');
/** /**
* Copy the CSS from the core package to the angular package. * Copy the CSS from the core package to the angular package.
* *
* This allows developers to import the global stylesheets * 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() { function copyCSS() {
const src = path.join(__dirname, '..', '..', '..', 'core', 'css'); const src = path.join(__dirname, '..', '..', 'core', 'css');
const dst = path.join(__dirname, '..','dist', 'css'); const dst = path.join(__dirname, '..','dist', 'css');
fs.removeSync(dst); fs.removeSync(dst);

View File

@ -34,14 +34,14 @@ const getAngularOutputTargets = () => {
return [ return [
angularOutputTarget({ angularOutputTarget({
componentCorePackage, componentCorePackage,
directivesProxyFile: '../packages/angular/src/directives/proxies.ts', directivesProxyFile: '../angular/src/directives/proxies.ts',
directivesArrayFile: '../packages/angular/src/directives/proxies-list.ts', directivesArrayFile: '../angular/src/directives/proxies-list.ts',
excludeComponents, excludeComponents,
outputType: 'component', outputType: 'component',
}), }),
angularOutputTarget({ angularOutputTarget({
componentCorePackage, componentCorePackage,
directivesProxyFile: '../packages/angular/standalone/src/directives/proxies.ts', directivesProxyFile: '../angular/standalone/src/directives/proxies.ts',
excludeComponents: [ excludeComponents: [
...excludeComponents, ...excludeComponents,
/** /**
@ -130,7 +130,7 @@ export const config: Config = {
includeImportCustomElements: true, includeImportCustomElements: true,
includePolyfills: false, includePolyfills: false,
includeDefineCustomElements: false, includeDefineCustomElements: false,
proxiesFile: '../packages/react/src/components/proxies.ts', proxiesFile: '../react/src/components/proxies.ts',
excludeComponents: [ excludeComponents: [
// Routing // Routing
'ion-router', 'ion-router',
@ -167,7 +167,7 @@ export const config: Config = {
includeImportCustomElements: true, includeImportCustomElements: true,
includePolyfills: false, includePolyfills: false,
includeDefineCustomElements: false, includeDefineCustomElements: false,
proxiesFile: '../packages/vue/src/proxies.ts', proxiesFile: '../vue/src/proxies.ts',
excludeComponents: [ excludeComponents: [
// Routing // Routing
'ion-router', 'ion-router',

View File

@ -2,12 +2,12 @@ const fs = require('fs-extra');
const path = require('path'); const path = require('path');
/** /**
* Copy the CSS from the core package to the react package. * Copy the CSS from the core package to the react package.
* *
* This allows developers to import the global stylesheets * 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() { function copyCSS() {
const src = path.join(__dirname, '..', '..', '..', 'core', 'css'); const src = path.join(__dirname, '..', '..', 'core', 'css');
const dst = path.join(__dirname, '..', 'css'); const dst = path.join(__dirname, '..', 'css');
fs.removeSync(dst); fs.removeSync(dst);

View File

@ -3,12 +3,12 @@ const path = require('path');
/** /**
* Copy the CSS from the core package to the vue package. * Copy the CSS from the core package to the vue package.
* *
* This allows developers to import the global stylesheets * 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() { function copyCSS() {
const src = path.join(__dirname, '..', '..', '..', 'core', 'css'); const src = path.join(__dirname, '..', '..', 'core', 'css');
const dst = path.join(__dirname, '..', 'css'); const dst = path.join(__dirname, '..', 'css');
fs.removeSync(dst); fs.removeSync(dst);