Fix feature pathing
This commit is contained in:
parent
ca6f501c70
commit
fe4d283311
6 changed files with 3 additions and 11 deletions
|
@ -7,10 +7,9 @@
|
|||
"watch": "$npm_execpath cross-env NODE_ENV=development $npm_execpath webpack --watch --progress",
|
||||
"build": "$npm_execpath cross-env NODE_ENV=development $npm_execpath webpack --progress",
|
||||
"build:production": "$npm_execpath run clean && $npm_execpath cross-env NODE_ENV=production $npm_execpath webpack --mode production",
|
||||
"serve": "$npm_execpath run clean && $npm_execpath cross-env PUBLIC_PATH=https://pterodactyl.test:8080 NODE_ENV=development $npm_execpath webpack-dev-server --host 0.0.0.0 --hot --https --key /etc/ssl/private/pterodactyl.test-key.pem --cert /etc/ssl/private/pterodactyl.test.pem"
|
||||
"serve": "$npm_execpath run clean && $npm_execpath cross-env WEBPACK_PUBLIC_PATH=/webpack@hmr/ NODE_ENV=development $npm_execpath webpack-dev-server --host 0.0.0.0 --port 8080 --public https://pterodactyl.test --hot"
|
||||
},
|
||||
"dependencies": {
|
||||
"@": "link:./resources/scripts",
|
||||
"@codemirror/autocomplete": "^0.19.0",
|
||||
"@codemirror/closebrackets": "^0.19.0",
|
||||
"@codemirror/commands": "^0.19.0",
|
||||
|
|
|
@ -6,7 +6,7 @@ import { lazy } from 'react';
|
|||
* whenever they are actually loaded for the client (which may be never, depending
|
||||
* on the feature and the egg).
|
||||
*/
|
||||
const EulaModalFeature = lazy(() => import(/* webpackChunkName: "feature.eula" */'@feature/eula/EulaModalFeature'));
|
||||
const EulaModalFeature = lazy(() => import(/* webpackChunkName: "feature.eula" */'@feature/EulaModalFeature'));
|
||||
const JavaVersionModalFeature = lazy(() => import(/* webpackChunkName: "feature.java_version" */'@feature/JavaVersionModalFeature'));
|
||||
const GSLTokenModalFeature = lazy(() => import(/* webpackChunkName: "feature.gsl_token" */'@feature/GSLTokenModalFeature'));
|
||||
const PIDLimitModalFeature = lazy(() => import(/* webpackChunkName: "feature.pid_limit" */'@feature/PIDLimitModalFeature'));
|
||||
|
|
|
@ -60,7 +60,7 @@ module.exports = {
|
|||
extensions: ['.ts', '.tsx', '.js', '.json'],
|
||||
alias: {
|
||||
'@': path.join(__dirname, '/resources/scripts'),
|
||||
'feature': path.join(__dirname, '/resources/scripts/components/server/features'),
|
||||
'@feature': path.join(__dirname, '/resources/scripts/components/server/features'),
|
||||
'react-dom': '@hot-loader/react-dom',
|
||||
},
|
||||
symlinks: false,
|
||||
|
|
|
@ -5,12 +5,6 @@ __metadata:
|
|||
version: 4
|
||||
cacheKey: 8
|
||||
|
||||
"@@link:./resources/scripts::locator=pterodactyl-panel%40workspace%3A.":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@@link:./resources/scripts::locator=pterodactyl-panel%40workspace%3A."
|
||||
languageName: node
|
||||
linkType: soft
|
||||
|
||||
"@babel/code-frame@npm:7.12.11":
|
||||
version: 7.12.11
|
||||
resolution: "@babel/code-frame@npm:7.12.11"
|
||||
|
@ -10207,7 +10201,6 @@ fsevents@^1.2.7:
|
|||
version: 0.0.0-use.local
|
||||
resolution: "pterodactyl-panel@workspace:."
|
||||
dependencies:
|
||||
"@": "link:./resources/scripts"
|
||||
"@babel/core": ^7.16.0
|
||||
"@babel/plugin-proposal-class-properties": ^7.16.0
|
||||
"@babel/plugin-proposal-nullish-coalescing-operator": ^7.16.0
|
||||
|
|
Loading…
Reference in a new issue