mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-15 01:03:03 +08:00
chore: fix paths
This commit is contained in:
6
packages/angular/scripts/build-core.js
vendored
6
packages/angular/scripts/build-core.js
vendored
@ -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);
|
||||
|
@ -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',
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
Reference in New Issue
Block a user