Skip to content

Commit

Permalink
chore(all): prepare release 1.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
EisenbergEffect committed Feb 19, 2017
1 parent 964f8c7 commit 1a4c15a
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dist/build-resources.js
Original file line number Diff line number Diff line change
Expand Up @@ -639,4 +639,4 @@ function resolveTemplateResources(htmlFilePath, srcPath, externalModule) {
});

return resources;
}
}
6 changes: 3 additions & 3 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -262,15 +262,15 @@ var AureliaWebpackPlugin = function () {
var moduleId = void 0;

if (options.nameLocalModules) {
if (module.resource.startsWith(options.src)) {
if (path.normalize(module.resource).startsWith(options.src)) {
var relativeToSrc = path.relative(options.src, module.resource);
moduleId = relativeToSrc;
}
}
if (options.nameExternalModules) {
if (!moduleId && typeof module.userRequest == 'string') {
var matchingModuleIds = paths.filter(function (originPath) {
return contextElements[originPath].source === module.userRequest;
return contextElements[originPath].source === path.normalize(module.userRequest);
}).map(function (originPath) {
return path.normalize(originPath);
});
Expand Down Expand Up @@ -304,4 +304,4 @@ var AureliaWebpackPlugin = function () {
return AureliaWebpackPlugin;
}();

module.exports = AureliaWebpackPlugin;
module.exports = AureliaWebpackPlugin;
10 changes: 10 additions & 0 deletions doc/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
<a name="1.2.2"></a>
## [1.2.2](https://github.com/aurelia/webpack-plugin/compare/1.2.1...v1.2.2) (2017-02-19)


### Bug Fixes

* **webpack-plugin:** Windows specific paths fix ([f5624a3](https://github.com/aurelia/webpack-plugin/commit/f5624a3))



<a name="1.2.1"></a>
## [1.2.1](https://github.com/aurelia/webpack-plugin/compare/1.2.0...v1.2.1) (2017-02-09)

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": "aurelia-webpack-plugin",
"version": "1.2.1",
"version": "1.2.2",
"description": "A plugin for webpack that enables bundling Aurelia applications.",
"keywords": [
"aurelia",
Expand Down

0 comments on commit 1a4c15a

Please sign in to comment.