Skip to content

Commit

Permalink
update version
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholaslee119 authored and 李 立 committed Oct 2, 2017
1 parent 2af795f commit a20f349
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/buildTemplate.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ module.exports = function buildTemplate(components, buildOption) {
components.forEach((component) => {
let templatePath;
if (component.pageFlag) {
// TODO: implement css namespace here shodow DOM
templatePath = path.resolve(buildOption.srcPath, component.dir, `${component.name}${buildOption.ext}`);
} else {
templatePath = path.resolve(buildOption.srcPath, component.dir, component.name, `${component.name}${buildOption.ext}`);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "webpack-component-loader",
"version": "0.2.0",
"version": "0.3.0",
"description": "A webpack loader to componentify CSS/JS/HTML without framework",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit a20f349

Please sign in to comment.