meocord 1.2.4 → 1.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/dist/esm/bin/meocord.js +2 -1
- package/dist/esm/package.json.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,18 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [1.2.6] - 2026-04-09
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
|
|
12
|
+
- Compile config on `meocord start --dev` before watch mode to prevent stale `dist/meocord.config.mjs` from loading the wrong env file. ([72001dc](https://github.com/l7aromeo/meocord/commit/72001dc))
|
|
13
|
+
|
|
14
|
+
## [1.2.5] - 2026-04-09
|
|
15
|
+
|
|
16
|
+
### Fixed
|
|
17
|
+
|
|
18
|
+
- Use webpack `mode: 'none'` for config compilation to prevent `DefinePlugin` from replacing `process.env.NODE_ENV` with a string literal, which caused the compiled config to always load the production env file. ([91d8a04](https://github.com/l7aromeo/meocord/commit/91d8a04))
|
|
19
|
+
|
|
8
20
|
## [1.2.4] - 2026-04-09
|
|
9
21
|
|
|
10
22
|
### Fixed
|
package/dist/esm/bin/meocord.js
CHANGED
|
@@ -205,7 +205,7 @@ For full license details, refer to:
|
|
|
205
205
|
const compiler = webpack({
|
|
206
206
|
entry: configPath,
|
|
207
207
|
target: 'node',
|
|
208
|
-
mode: '
|
|
208
|
+
mode: 'none',
|
|
209
209
|
externals: [
|
|
210
210
|
nodeExternals({
|
|
211
211
|
importType: 'module'
|
|
@@ -287,6 +287,7 @@ For full license details, refer to:
|
|
|
287
287
|
try {
|
|
288
288
|
this.clearConsole();
|
|
289
289
|
this.logger.log('Starting watch mode...');
|
|
290
|
+
await this.compileConfig();
|
|
290
291
|
const webpackConfig = (await import(this.webpackConfigPath)).default;
|
|
291
292
|
const compiler = webpack({
|
|
292
293
|
...webpackConfig,
|
package/dist/esm/package.json.js
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "meocord",
|
|
3
3
|
"description": "MeoCord is a lightweight and modular framework for building scalable Discord bots using TypeScript and Discord.js. It simplifies bot development with an extensible architecture, TypeScript-first approach, and powerful CLI tools.",
|
|
4
|
-
"version": "1.2.
|
|
4
|
+
"version": "1.2.6",
|
|
5
5
|
"packageManager": "yarn@4.12.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"scripts": {
|