Skip to content

Commit be58e4e

Browse files
Merge branch 'release/1.2.5'
2 parents ad4970e + c52dcd2 commit be58e4e

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# Changelog
22
All notable changes to this project will be documented in this file.
33

4+
## 1.2.5
5+
6+
* [Added] Change scripts output path from `ts` to `js`
7+
48
## 1.2.4
59

610
* [Fixed] Minimizer is now only enabled for production builds

config/webpack.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,8 @@ if (!hasFileArg()) {
7171

7272
if ('_' !== name.charAt(0)) {
7373
const filePath = path.join(srcPath, file);
74-
outputPath = outputPath.replace('scss', 'css');
74+
75+
outputPath = outputPath.replace('scss', 'css').replace('ts', 'js');
7576

7677
if (lstatSync(filePath).isFile()) {
7778
entry[`${outputPath}/${name}`] = filePath;

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@micropackage/scripts",
33
"description": "Reusable scripts for (not only) WordPress development.",
4-
"version": "1.2.4",
4+
"version": "1.2.5",
55
"author": "Wojtek Szałkiewicz <wojtek@szalkiewicz.pl>",
66
"license": "GPL-3.0-or-later",
77
"homepage": "https://github.com/micropackage/scripts",

0 commit comments

Comments
 (0)