Add .devcontainer + minor changes
Some checks failed
forgejo/Procyon/seedling/pipeline/head There was a failure building this commit
forgejo/Procyon/seedling/pipeline/pr-master There was a failure building this commit

This commit is contained in:
Roman Jaroš 2023-12-22 17:48:27 +00:00
parent 99831ff824
commit ed0957becd
15 changed files with 59 additions and 20 deletions

View file

@ -1,7 +1,7 @@
const { merge } = require('webpack-merge');
const common = require('./webpack-common');
const myEnv = require('dotenv').config({ path: 'config/local/.env' }).parsed;
const myEnv = require('dotenv').config({ path: 'config/app/.env.local' }).parsed;
module.exports = (env, args) => {
return merge(common(env, args, myEnv), {

View file

@ -1,6 +1,6 @@
const { merge } = require('webpack-merge');
const myEnv = require('dotenv').config({ path: 'config/prod/.env' }).parsed;
const myEnv = require('dotenv').config({ path: 'config/app/.env.prod' }).parsed;
const common = require('./webpack-common');
// const { BundleAnalyzerPlugin } = require('webpack-bundle-analyzer');

View file

@ -0,0 +1,13 @@
declare global {
interface Window {
__REDUX_DEVTOOLS_EXTENSION_COMPOSE__: any;
}
namespace NodeJS {
interface ProcessEnv {
ENDPOINT_BASE_URL: string;
}
}
}
export default global;