1
0
mirror of https://github.com/flarum/core.git synced 2025-08-31 03:50:15 +02:00

feat: export registry (#3842)

* feat: registry first iteration

Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>

* feat: improve webpack auto export loader

Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>

* chore: remove `compat` API

Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>

* chore: cleanup

Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>

---------

Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
This commit is contained in:
Sami Mazouz
2023-06-29 18:57:53 +01:00
committed by GitHub
parent cf70865aa6
commit 016503d8c3
74 changed files with 2206 additions and 1076 deletions

View File

@@ -1,8 +1,9 @@
{
"name": "flarum-webpack-config",
"type": "module",
"version": "2.0.2",
"description": "Webpack config for Flarum JS and TS transpilation.",
"main": "index.js",
"main": "src/index.cjs",
"author": "Flarum Team",
"license": "MIT",
"prettier": "@flarum/prettier-config",
@@ -21,13 +22,18 @@
"@babel/preset-typescript": "^7.18.6",
"@babel/runtime": "^7.20.1",
"babel-loader": "^9.1.0",
"loader-utils": "^1.4.0",
"schema-utils": "^3.0.0",
"typescript": "^4.9.3",
"webpack": "^5.76.0",
"webpack-bundle-analyzer": "^4.7.0"
},
"devDependencies": {
"prettier": "^2.8.0",
"@flarum/prettier-config": "^1.0.0"
"@flarum/prettier-config": "^1.0.0",
"babel-jest": "^29.5.0",
"jest": "^29.5.0",
"memfs": "^3.5.3",
"prettier": "^2.8.0"
},
"scripts": {
"dev": "echo 'skipping..'",
@@ -39,6 +45,10 @@
"build-typings": "echo 'skipping..'",
"post-build-typings": "echo 'skipping..'",
"check-typings": "echo 'skipping..'",
"check-typings-coverage": "echo 'skipping..'"
"check-typings-coverage": "echo 'skipping..'",
"test": "jest"
},
"jest": {
"testEnvironment": "node"
}
}