Commit bd2581fa authored by Evan You's avatar Evan You

todos

parent 5503e2a2
......@@ -93,6 +93,7 @@ module.exports = function (source) {
}
// styles
// TODO construct an injection function instead
let styleImports = ``
if (descriptor.styles.length) {
styleImports = descriptor.styles.map((style, i) => {
......@@ -126,6 +127,7 @@ var component = normalizer(
// TODO custom blocks
}
// Expose filename. This is used by the devtools and vue runtime warnings.
if (!isProduction) {
code += `\ncomponent.options.__file = ${JSON.stringify(shortFilePath)}`
}
......
......@@ -106,6 +106,7 @@ test('postcss', done => {
})
})
// TODO
// test('css-modules', done => {
// function testWithIdent (localIdentName, regexToMatch, cb) {
// mockBundleAndRun({
......
......@@ -109,6 +109,7 @@ test('transform srcset', done => {
})
})
// TODO
// test('functional component with styles', done => {
// mockBundleAndRun({
// entry: 'functional-style.vue'
......@@ -170,6 +171,7 @@ test('functional template', done => {
})
})
// TODO
// test('customizing template loaders', done => {
// mockBundleAndRun({
// entry: 'markdown.vue'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment