mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-15 17:42:15 +08:00
chore: fix paths
This commit is contained in:
2
packages/angular/scripts/build-core.js
vendored
2
packages/angular/scripts/build-core.js
vendored
@ -11,7 +11,7 @@ const typescriptPath = path.join(__dirname, '..', 'node_modules', '.bin');
|
|||||||
* 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);
|
||||||
|
@ -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',
|
||||||
|
@ -7,7 +7,7 @@ const path = require('path');
|
|||||||
* 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);
|
||||||
|
@ -8,7 +8,7 @@ const path = require('path');
|
|||||||
* 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);
|
||||||
|
Reference in New Issue
Block a user