ember-scoped-css 0.2.12 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintignore +8 -0
- package/.eslintrc.cjs +37 -0
- package/dist/app-css-loader.cjs +9743 -0
- package/dist/app-dependency-loader.cjs +51 -0
- package/index.js +0 -6
- package/package.json +46 -11
- package/src/addon-css-rollup.js +0 -6
- package/src/addon-hbs-rollup.js +6 -2
- package/src/addon-js-unplugin.js +13 -3
- package/src/app-css-livereload-loader.js +4 -5
- package/src/app-css-loader.js +1 -1
- package/src/app-css-unplugin.js +0 -6
- package/src/app-js-unplugin.js +0 -5
- package/src/babel-plugin-scoped-class.js +0 -2
- package/src/replaceScopedClass.js +2 -2
- package/test/getPostfix.js +0 -1
- package/test/rewriteCss.js +0 -1
- package/LICENSE.md +0 -9
- package/src/rollup-ember-template-imports-plugin.js +0 -75
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
|
|
19
|
+
// src/app-dependency-loader.js
|
|
20
|
+
var app_dependency_loader_exports = {};
|
|
21
|
+
__export(app_dependency_loader_exports, {
|
|
22
|
+
default: () => app_dependency_loader_default
|
|
23
|
+
});
|
|
24
|
+
module.exports = __toCommonJS(app_dependency_loader_exports);
|
|
25
|
+
|
|
26
|
+
// src/fsExists.js
|
|
27
|
+
var import_promises = require("fs/promises");
|
|
28
|
+
async function fsExists_default(path) {
|
|
29
|
+
try {
|
|
30
|
+
await (0, import_promises.stat)(path);
|
|
31
|
+
return true;
|
|
32
|
+
} catch (e) {
|
|
33
|
+
return false;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
// src/app-dependency-loader.js
|
|
38
|
+
async function app_dependency_loader_default(source) {
|
|
39
|
+
if (this.resourcePath.endsWith(".js")) {
|
|
40
|
+
const hbsExists = await fsExists_default(this.resourcePath.replace(/\.js/, ".hbs"));
|
|
41
|
+
if (hbsExists) {
|
|
42
|
+
return source;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
const cssPath = this.resourcePath.replace(/(\.js)|(\.hbs)/, ".css");
|
|
46
|
+
const cssExists = await fsExists_default(cssPath);
|
|
47
|
+
if (cssExists) {
|
|
48
|
+
this.addDependency(cssPath);
|
|
49
|
+
}
|
|
50
|
+
return source;
|
|
51
|
+
}
|
package/index.js
CHANGED
|
@@ -1,23 +1,17 @@
|
|
|
1
|
-
import rollupEmberTemplateImportsPlugin from './src/rollup-ember-template-imports-plugin.js';
|
|
2
1
|
import addonJsUnplugin from './src/addon-js-unplugin.js';
|
|
3
2
|
import addonCssRollup from './src/addon-css-rollup.js';
|
|
4
3
|
import addonHbsRollup from './src/addon-hbs-rollup.js';
|
|
5
4
|
import appJsUnplugin from './src/app-js-unplugin.js';
|
|
6
5
|
import appCssUnplugin from './src/app-css-unplugin.js';
|
|
7
|
-
import appCssLoader from './src/app-css-loader.js';
|
|
8
|
-
import appDependencyLoader from './src/app-dependency-loader.js';
|
|
9
6
|
import appScopedcssWebpack from './src/app-scopedcss-webpack.js';
|
|
10
7
|
import addonRewritecssRollup from './src/addon-rewritecss-rollup.js';
|
|
11
8
|
|
|
12
9
|
export {
|
|
13
|
-
rollupEmberTemplateImportsPlugin,
|
|
14
10
|
addonJsUnplugin,
|
|
15
11
|
addonCssRollup,
|
|
16
12
|
addonHbsRollup,
|
|
17
13
|
appJsUnplugin,
|
|
18
14
|
appCssUnplugin,
|
|
19
|
-
appCssLoader,
|
|
20
|
-
appDependencyLoader,
|
|
21
15
|
appScopedcssWebpack,
|
|
22
16
|
addonRewritecssRollup,
|
|
23
17
|
};
|
package/package.json
CHANGED
|
@@ -1,23 +1,37 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ember-scoped-css",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "",
|
|
5
|
+
"keywords": [],
|
|
6
|
+
"license": "ISC",
|
|
7
|
+
"author": "",
|
|
5
8
|
"type": "module",
|
|
6
|
-
"main": "index.js",
|
|
7
9
|
"exports": {
|
|
8
10
|
".": "./index.js",
|
|
9
11
|
"./babel-plugin-scoped-class": "./src/babel-plugin-scoped-class.js",
|
|
10
|
-
"./test-helper": "./src/scopedClass.js"
|
|
12
|
+
"./test-helper": "./src/scopedClass.js",
|
|
13
|
+
"./app-css-loader": {
|
|
14
|
+
"import": "./src/app-css-loader.js",
|
|
15
|
+
"require": "./dist/app-css-loader.cjs"
|
|
16
|
+
},
|
|
17
|
+
"./app-dependency-loader": {
|
|
18
|
+
"import": "./src/app-dependency-loader.js",
|
|
19
|
+
"require": "./dist/app-dependency-loader.cjs"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"main": "index.js",
|
|
23
|
+
"scripts": {
|
|
24
|
+
"esbuild": "esbuild src/app-css-loader.js src/app-dependency-loader.js --bundle --outdir=dist --platform=node --out-extension:.js=.cjs",
|
|
25
|
+
"lint": "eslint .",
|
|
26
|
+
"prepare": "npm run esbuild",
|
|
27
|
+
"release": "npx release-it",
|
|
28
|
+
"test": "mocha"
|
|
11
29
|
},
|
|
12
|
-
"keywords": [],
|
|
13
|
-
"author": "",
|
|
14
|
-
"license": "ISC",
|
|
15
30
|
"dependencies": {
|
|
16
31
|
"@babel/parser": "^7.21.4",
|
|
17
32
|
"blueimp-md5": "^2.19.0",
|
|
18
33
|
"cheerio": "1.0.0-rc.12",
|
|
19
34
|
"ember-source": "^4.10.0",
|
|
20
|
-
"ember-template-imports": "github:candunaj/ember-template-imports#embed-styles-in-gjs",
|
|
21
35
|
"ember-template-recast": "^6.1.3",
|
|
22
36
|
"glob": "^8.1.0",
|
|
23
37
|
"postcss": "^8.4.21",
|
|
@@ -28,12 +42,33 @@
|
|
|
28
42
|
},
|
|
29
43
|
"devDependencies": {
|
|
30
44
|
"chai": "^4.3.7",
|
|
45
|
+
"esbuild": "^0.17.17",
|
|
46
|
+
"eslint": "^8.38.0",
|
|
31
47
|
"mocha": "^10.2.0",
|
|
48
|
+
"release-it": "^15.10.1",
|
|
49
|
+
"release-it-lerna-changelog": "^5.0.0",
|
|
32
50
|
"sinon": "^15.0.1",
|
|
33
51
|
"webpack": "^5.75.0"
|
|
34
52
|
},
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
|
|
53
|
+
"peerDependencies": {
|
|
54
|
+
"webpack": "^5.0.0"
|
|
55
|
+
},
|
|
56
|
+
"publishConfig": {
|
|
57
|
+
"registry": "https://registry.npmjs.org"
|
|
58
|
+
},
|
|
59
|
+
"release-it": {
|
|
60
|
+
"plugins": {
|
|
61
|
+
"release-it-lerna-changelog": {
|
|
62
|
+
"infile": "../CHANGELOG.md",
|
|
63
|
+
"launchEditor": true
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
"git": {
|
|
67
|
+
"tagName": "v${version}"
|
|
68
|
+
},
|
|
69
|
+
"github": {
|
|
70
|
+
"release": true,
|
|
71
|
+
"tokenRef": "GITHUB_AUTH"
|
|
72
|
+
}
|
|
38
73
|
}
|
|
39
|
-
}
|
|
74
|
+
}
|
package/src/addon-css-rollup.js
CHANGED
|
@@ -1,11 +1,5 @@
|
|
|
1
1
|
import path from 'path';
|
|
2
|
-
import getPostfix from './getPostfix.js';
|
|
3
|
-
import rewriteCss from './rewriteCss.js';
|
|
4
2
|
import { readFile } from 'fs/promises';
|
|
5
|
-
import fsExists from './fsExists.js';
|
|
6
|
-
import findCssInJs from './findCssInJs.js';
|
|
7
|
-
import getImportedCssFiles from './getImportedCssFiles.js';
|
|
8
|
-
import recast from 'recast';
|
|
9
3
|
|
|
10
4
|
export default function () {
|
|
11
5
|
return {
|
package/src/addon-hbs-rollup.js
CHANGED
|
@@ -5,7 +5,7 @@ import getClassesTagsFromCss from './getClassesTagsFromCss.js';
|
|
|
5
5
|
import rewriteHbs from './rewriteHbs.js';
|
|
6
6
|
import fsExists from './fsExists.js';
|
|
7
7
|
|
|
8
|
-
export default function rollupCssColocation(
|
|
8
|
+
export default function rollupCssColocation() {
|
|
9
9
|
return {
|
|
10
10
|
name: 'addon-hbs-rollup',
|
|
11
11
|
|
|
@@ -34,7 +34,11 @@ export default function rollupCssColocation(options = {}) {
|
|
|
34
34
|
return rewriteHbs(hbs, classes, tags, postfix);
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
return
|
|
37
|
+
return {
|
|
38
|
+
code: rewrittenHbsJs,
|
|
39
|
+
// this rollup plugin changes only the template string, so the code structure is the same
|
|
40
|
+
map: null,
|
|
41
|
+
};
|
|
38
42
|
}
|
|
39
43
|
}
|
|
40
44
|
},
|
package/src/addon-js-unplugin.js
CHANGED
|
@@ -9,7 +9,7 @@ import fsExists from './fsExists.js';
|
|
|
9
9
|
import findCssInJs from './findCssInJs.js';
|
|
10
10
|
import recast from 'recast';
|
|
11
11
|
|
|
12
|
-
export default createUnplugin((
|
|
12
|
+
export default createUnplugin(() => {
|
|
13
13
|
return {
|
|
14
14
|
name: 'addon-js-unplugin',
|
|
15
15
|
|
|
@@ -31,11 +31,16 @@ export default createUnplugin((options) => {
|
|
|
31
31
|
css = result.css;
|
|
32
32
|
code = recast.print(result.ast).code;
|
|
33
33
|
this.getModuleInfo(jsPath).meta.gjsCss = result.css;
|
|
34
|
+
|
|
35
|
+
// TODO: generate changed source map. Implementation depends on implemented rollup plugin for style tag
|
|
34
36
|
}
|
|
35
37
|
}
|
|
36
38
|
|
|
37
39
|
if (!css) {
|
|
38
|
-
return
|
|
40
|
+
return {
|
|
41
|
+
code,
|
|
42
|
+
map: null,
|
|
43
|
+
};
|
|
39
44
|
}
|
|
40
45
|
|
|
41
46
|
// add css import for js and gjs files
|
|
@@ -44,12 +49,17 @@ export default createUnplugin((options) => {
|
|
|
44
49
|
// rewrite hbs in js in case it is gjs file (for gjs files hbs is already in js file)
|
|
45
50
|
// for js components "@embroider/addon-dev/template-colocation-plugin", will add hbs to js later. So there is hbs plugin to rewrite hbs
|
|
46
51
|
|
|
47
|
-
|
|
52
|
+
const rewrittenCode = replaceHbsInJs(code, (hbs) => {
|
|
48
53
|
const { classes, tags } = getClassesTagsFromCss(css);
|
|
49
54
|
const postfix = getPostfix(cssPath);
|
|
50
55
|
const rewritten = rewriteHbs(hbs, classes, tags, postfix);
|
|
51
56
|
return rewritten;
|
|
52
57
|
});
|
|
58
|
+
|
|
59
|
+
return {
|
|
60
|
+
code: rewrittenCode,
|
|
61
|
+
map: null,
|
|
62
|
+
};
|
|
53
63
|
},
|
|
54
64
|
};
|
|
55
65
|
});
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { createUnplugin } from 'unplugin';
|
|
2
2
|
import path from 'path';
|
|
3
|
-
import { readFile
|
|
3
|
+
import { readFile } from 'fs/promises';
|
|
4
4
|
import { Compilation } from 'webpack';
|
|
5
5
|
import getPostfix from './getPostfix.js';
|
|
6
|
-
import cheerio from 'cheerio';
|
|
7
6
|
|
|
8
|
-
export default createUnplugin(({
|
|
7
|
+
export default createUnplugin(({ loaders, htmlEntrypointInfo }) => {
|
|
9
8
|
return {
|
|
10
9
|
name: 'app-css-livereload-loader',
|
|
11
10
|
|
|
@@ -77,7 +76,7 @@ export default createUnplugin(({ appDir, loaders, htmlEntrypointInfo }) => {
|
|
|
77
76
|
if (!cssAssets.length) {
|
|
78
77
|
return;
|
|
79
78
|
}
|
|
80
|
-
let linkAdded = false;
|
|
79
|
+
// let linkAdded = false;
|
|
81
80
|
const document =
|
|
82
81
|
htmlEntrypointInfo.htmlEntryPoint.dom.window.document;
|
|
83
82
|
|
|
@@ -92,7 +91,7 @@ export default createUnplugin(({ appDir, loaders, htmlEntrypointInfo }) => {
|
|
|
92
91
|
link.rel = 'stylesheet';
|
|
93
92
|
link.href = '/' + asset;
|
|
94
93
|
head.appendChild(link);
|
|
95
|
-
linkAdded = true;
|
|
94
|
+
// linkAdded = true;
|
|
96
95
|
}
|
|
97
96
|
}
|
|
98
97
|
|
package/src/app-css-loader.js
CHANGED
package/src/app-css-unplugin.js
CHANGED
|
@@ -1,10 +1,4 @@
|
|
|
1
1
|
import { createUnplugin } from 'unplugin';
|
|
2
|
-
import replaceGlimmerAst from './replaceGlimmerAst.js';
|
|
3
|
-
import path from 'path';
|
|
4
|
-
import getPostfix from './getPostfix.js';
|
|
5
|
-
import getClassesTagsFromCss from './getClassesTagsFromCss.js';
|
|
6
|
-
import { readFile } from 'fs/promises';
|
|
7
|
-
import fsExists from './fsExists.js';
|
|
8
2
|
|
|
9
3
|
export default createUnplugin(() => {
|
|
10
4
|
return {
|
package/src/app-js-unplugin.js
CHANGED
|
@@ -3,8 +3,6 @@ import replaceGlimmerAst from './replaceGlimmerAst.js';
|
|
|
3
3
|
import path from 'path';
|
|
4
4
|
import getPostfix from './getPostfix.js';
|
|
5
5
|
import getClassesTagsFromCss from './getClassesTagsFromCss.js';
|
|
6
|
-
import { readFile } from 'fs/promises';
|
|
7
|
-
import fsExists from './fsExists.js';
|
|
8
6
|
|
|
9
7
|
function* iterateOpcodes(opcodes) {
|
|
10
8
|
for (let instruction of opcodes) {
|
|
@@ -50,14 +48,11 @@ export default createUnplugin(({ appDir }) => {
|
|
|
50
48
|
|
|
51
49
|
async transform(code, id) {
|
|
52
50
|
const cssPath = id.replace(/(\.js)|(\.hbs)/, '.css');
|
|
53
|
-
const cssFileName = path.basename(cssPath);
|
|
54
51
|
const postfix = getPostfix(cssPath);
|
|
55
52
|
|
|
56
53
|
return await replaceGlimmerAst(code, id, (opcodes, css) => {
|
|
57
54
|
const { classes, tags } = getClassesTagsFromCss(css);
|
|
58
|
-
const a = code;
|
|
59
55
|
// this.addWatchFile(cssPath);
|
|
60
|
-
const tmp = this;
|
|
61
56
|
const insertions = [];
|
|
62
57
|
|
|
63
58
|
for (let instruction of iterateOpcodes(opcodes[0])) {
|
|
@@ -5,9 +5,7 @@ const scopedClass = () => {
|
|
|
5
5
|
visitor: {
|
|
6
6
|
CallExpression(path, state) {
|
|
7
7
|
if (path.node?.callee?.name === 'precompileTemplate') {
|
|
8
|
-
let source = '';
|
|
9
8
|
if (path.node.arguments[0].type === 'StringLiteral') {
|
|
10
|
-
source = path.node.arguments[0].value;
|
|
11
9
|
path.node.arguments[0].value = replaceScopedClass(
|
|
12
10
|
path.node.arguments[0].value,
|
|
13
11
|
state.filename,
|
|
@@ -2,7 +2,7 @@ import recast from 'ember-template-recast';
|
|
|
2
2
|
import renameClass from './renameClass.js';
|
|
3
3
|
import getPostfix from './getPostfix.js';
|
|
4
4
|
|
|
5
|
-
export default function (hbs, templatePath
|
|
5
|
+
export default function (hbs, templatePath) {
|
|
6
6
|
let ast = recast.parse(hbs);
|
|
7
7
|
let stack = [];
|
|
8
8
|
const cssPath = templatePath.replace(/(\.hbs)?\.js$/, '.css');
|
|
@@ -13,7 +13,7 @@ export default function (hbs, templatePath, basePath) {
|
|
|
13
13
|
enter(node) {
|
|
14
14
|
stack.push(node);
|
|
15
15
|
},
|
|
16
|
-
exit(
|
|
16
|
+
exit() {
|
|
17
17
|
stack.pop();
|
|
18
18
|
},
|
|
19
19
|
},
|
package/test/getPostfix.js
CHANGED
package/test/rewriteCss.js
CHANGED
package/LICENSE.md
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
The MIT License (MIT)
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2023
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
6
|
-
|
|
7
|
-
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
8
|
-
|
|
9
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import fs from 'fs/promises';
|
|
2
|
-
import path from 'path';
|
|
3
|
-
import { preprocessEmbeddedTemplates } from 'ember-template-imports/lib/preprocess-embedded-templates.js';
|
|
4
|
-
import {
|
|
5
|
-
TEMPLATE_TAG_NAME,
|
|
6
|
-
TEMPLATE_TAG_PLACEHOLDER,
|
|
7
|
-
} from 'ember-template-imports/lib/util.js';
|
|
8
|
-
|
|
9
|
-
export default function firstClassComponentTemplates() {
|
|
10
|
-
return {
|
|
11
|
-
name: 'preprocess-fccts',
|
|
12
|
-
async resolveId(source, importer, options) {
|
|
13
|
-
if (source.endsWith('.hbs')) return;
|
|
14
|
-
|
|
15
|
-
for (let ext of ['', '.gjs', '.gts']) {
|
|
16
|
-
let result = await this.resolve(source + ext, importer, {
|
|
17
|
-
...options,
|
|
18
|
-
skipSelf: true,
|
|
19
|
-
});
|
|
20
|
-
|
|
21
|
-
if (result?.external) {
|
|
22
|
-
return;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
if (FCCT_EXTENSION.test(result?.id)) {
|
|
26
|
-
return resolutionFor(result.id);
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
},
|
|
30
|
-
|
|
31
|
-
async load(id) {
|
|
32
|
-
let originalId = this.getModuleInfo(id)?.meta?.fccts?.originalId ?? id;
|
|
33
|
-
|
|
34
|
-
if (originalId !== id) {
|
|
35
|
-
this.addWatchFile(originalId);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
if (FCCT_EXTENSION.test(originalId)) {
|
|
39
|
-
return await preprocessTemplates(originalId);
|
|
40
|
-
}
|
|
41
|
-
},
|
|
42
|
-
};
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
const FCCT_EXTENSION = /\.g([jt]s)$/;
|
|
46
|
-
|
|
47
|
-
function resolutionFor(originalId) {
|
|
48
|
-
return {
|
|
49
|
-
id: originalId.replace(FCCT_EXTENSION, '.$1'),
|
|
50
|
-
meta: {
|
|
51
|
-
fccts: { originalId },
|
|
52
|
-
},
|
|
53
|
-
};
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
async function preprocessTemplates(id) {
|
|
57
|
-
let ember = (await import('ember-source')).default;
|
|
58
|
-
let contents = await fs.readFile(id, 'utf-8');
|
|
59
|
-
|
|
60
|
-
// This is basically taken directly from `ember-template-imports`
|
|
61
|
-
let result = preprocessEmbeddedTemplates(contents, {
|
|
62
|
-
relativePath: path.relative('.', id),
|
|
63
|
-
|
|
64
|
-
getTemplateLocalsRequirePath: ember.absolutePaths.templateCompiler,
|
|
65
|
-
getTemplateLocalsExportPath: '_GlimmerSyntax.getTemplateLocals',
|
|
66
|
-
|
|
67
|
-
templateTag: TEMPLATE_TAG_NAME,
|
|
68
|
-
templateTagReplacement: TEMPLATE_TAG_PLACEHOLDER,
|
|
69
|
-
|
|
70
|
-
includeSourceMaps: true,
|
|
71
|
-
includeTemplateTokens: true,
|
|
72
|
-
});
|
|
73
|
-
|
|
74
|
-
return result.output;
|
|
75
|
-
}
|