mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-26 11:17:04 +08:00
chore: cleanup
This commit is contained in:
@ -12,7 +12,10 @@ module.exports = (env) => {
|
|||||||
]))
|
]))
|
||||||
|
|
||||||
baseConfig.plugins.push(new webpack.DefinePlugin({
|
baseConfig.plugins.push(new webpack.DefinePlugin({
|
||||||
__CI__: !!process.env.CI
|
__CI__: !!process.env.CI,
|
||||||
|
__UI_USE_XML_PARSER__: true,
|
||||||
|
__UI_USE_EXTERNAL_RENDERER__: false,
|
||||||
|
__CSS_PARSER__: JSON.stringify('css-tree')
|
||||||
}))
|
}))
|
||||||
|
|
||||||
return baseConfig;
|
return baseConfig;
|
||||||
|
1
packages/core/.gitignore
vendored
1
packages/core/.gitignore
vendored
@ -5,7 +5,6 @@ dist
|
|||||||
!xml/xml.js
|
!xml/xml.js
|
||||||
!js-libs/**/*.*
|
!js-libs/**/*.*
|
||||||
!cli-hooks/**/*.*
|
!cli-hooks/**/*.*
|
||||||
!css/**/*.js
|
|
||||||
!css/**/*.ts
|
!css/**/*.ts
|
||||||
css/parser.js*
|
css/parser.js*
|
||||||
css/system-classes.js*
|
css/system-classes.js*
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
import { assert } from 'chai';
|
import { assert } from 'chai';
|
||||||
import { parseURL, parseColor, parsePercentageOrLength, parseBackgroundPosition, parseBackground, parseSelector, AttributeSelectorTest, CSS3Parser, TokenObjectType, CSSNativeScript } from '@nativescript/core/css/parser';
|
import { parseURL, parseColor, parsePercentageOrLength, parseBackgroundPosition, parseBackground, parseSelector, AttributeSelectorTest } from '@nativescript/core/css/parser';
|
||||||
|
import { CSS3Parser, TokenObjectType } from '@nativescript/core/css/CSS3Parser';
|
||||||
|
import { CSSNativeScript } from '@nativescript/core/css/CSSNativeScript';
|
||||||
|
|
||||||
import * as fs from 'fs';
|
import * as fs from 'fs';
|
||||||
import * as shadyCss from 'shady-css-parser';
|
import * as shadyCss from 'shady-css-parser';
|
||||||
|
1
packages/core/css/.gitignore
vendored
Normal file
1
packages/core/css/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
!reworkcss.js
|
@ -3,8 +3,6 @@ import { ViewBase } from '../core/view-base';
|
|||||||
import { View } from '../core/view';
|
import { View } from '../core/view';
|
||||||
import { unsetValue, _evaluateCssVariableExpression, _evaluateCssCalcExpression, isCssVariable, isCssVariableExpression, isCssCalcExpression } from '../core/properties';
|
import { unsetValue, _evaluateCssVariableExpression, _evaluateCssCalcExpression, isCssVariable, isCssVariableExpression, isCssCalcExpression } from '../core/properties';
|
||||||
import { SyntaxTree, Keyframes as KeyframesDefinition, parse as parseCss, Node as CssNode } from '../../css';
|
import { SyntaxTree, Keyframes as KeyframesDefinition, parse as parseCss, Node as CssNode } from '../../css';
|
||||||
import { CSS3Parser, CSSNativeScript } from '../../css/parser';
|
|
||||||
import { cssTreeParse } from '../../css/css-tree-parser';
|
|
||||||
|
|
||||||
import { RuleSet, SelectorsMap, SelectorCore, SelectorsMatch, ChangeMap, fromAstNodes, Node } from './css-selector';
|
import { RuleSet, SelectorsMap, SelectorCore, SelectorsMatch, ChangeMap, fromAstNodes, Node } from './css-selector';
|
||||||
import { Trace } from '../../trace';
|
import { Trace } from '../../trace';
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
Object.defineProperty(exports, "__esModule", { value: true });
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||||||
exports.XmlParser = exports.ParserEvent = exports.ParserEventType = void 0;
|
exports.XmlParser = exports.ParserEvent = exports.ParserEventType = void 0;
|
||||||
var easysax = require('../js-libs/easysax');
|
|
||||||
var easysax_1 = require("../js-libs/easysax");
|
var easysax_1 = require("../js-libs/easysax");
|
||||||
var ParserEventType = (function () {
|
var ParserEventType = (function () {
|
||||||
function ParserEventType() {
|
function ParserEventType() {
|
||||||
|
Reference in New Issue
Block a user