Skip to content

Commit adf3cee

Browse files
committed
comments
1 parent feeda78 commit adf3cee

File tree

5 files changed

+13
-0
lines changed

5 files changed

+13
-0
lines changed

lib/component-normalizer.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// this module is a runtime utility for cleaner component module output and will
2+
// be included in the final webpack user bundle
3+
14
module.exports = function normalizeComponent (
25
rawScriptExports,
36
compiledTemplate,

lib/selector.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// this is a utility loader that takes a *.vue file, parses it and returns
2+
// the requested language block, e.g. the content inside <template>, for
3+
// further processing.
4+
15
var path = require('path')
26
var parse = require('./parser')
37
var loaderUtils = require('loader-utils')

lib/template-compiler/modules/inline-style.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1+
// TODO: apply same postcss processing to inline styles inside templates
2+
13
// 1. load postcss config
24
// 2. transform staticStyle?
5+
36
var loadPostcssConfig = require('../../style-compiler/load-postcss-config')
47

58
module.exports = () => {

lib/template-compiler/modules/transform-require.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// vue compiler module for using transforming `<tag>:<attribute>` to `require`
2+
23
var defaultOptions = {
34
img: 'src',
45
image: 'xlink:href'

lib/template-compiler/preprocessor.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// loader for pre-processing templates with e.g. pug
2+
13
var cons = require('consolidate')
24
var loaderUtils = require('loader-utils')
35
var extname = require('path').extname

0 commit comments

Comments
 (0)