Skip to content
This repository has been archived by the owner on Apr 26, 2022. It is now read-only.

Commit

Permalink
Fixed incorrect references to jsPath/cssPath
Browse files Browse the repository at this point in the history
  • Loading branch information
OscarBarrett committed Feb 28, 2018
1 parent 6053bea commit 61de5f3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/).

## 1.0.2 - 2018-02-28
### Fixed
- Incorrect references to jsPath/cssPath

## 1.0.1 - 2018-02-23
### Fixed
- Updated the default outputDir to be an absolute path
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "oscarbarrett/craft-twig-webpack-extension",
"description": "A plugin that provides https://github.com/fullpipe/twig-webpack-extension",
"type": "craft-plugin",
"version": "1.0.1",
"version": "1.0.2",
"keywords": [
"craft",
"cms",
Expand Down
2 changes: 1 addition & 1 deletion src/TwigWebpackExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public function init()
} else {
$manifestPath = CRAFT_BASE_PATH . "/web/{$settings->manifestPath}";
Craft::$app->view->registerTwigExtension(
new WebpackExtension($manifestPath, $settings->jsOutputDir, $settings->cssOutputDir)
new WebpackExtension($manifestPath, $settings->jsPath, $settings->cssPath)
);
}
}
Expand Down

0 comments on commit 61de5f3

Please sign in to comment.