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.
*
*
* 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);

View File

@ -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',

View File

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

View File

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