mirror of
https://github.com/twofas/2fas-browser-extension.git
synced 2024-11-25 11:40:30 +01:00
32 lines
1.1 KiB
JavaScript
32 lines
1.1 KiB
JavaScript
//
|
|
// This file is part of the 2FAS Browser Extension (https://github.com/twofas/2fas-browser-extension)
|
|
// Copyright © 2023 Two Factor Authentication Service, Inc.
|
|
// Contributed by Grzegorz Zając. All rights reserved.
|
|
//
|
|
// This program is free software: you can redistribute it and/or modify
|
|
// it under the terms of the GNU General Public License as published by
|
|
// the Free Software Foundation, either version 3 of the License, or
|
|
// any later version.
|
|
//
|
|
// This program is distributed in the hope that it will be useful,
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
// GNU General Public License for more details.
|
|
//
|
|
// You should have received a copy of the GNU General Public License
|
|
// along with this program. If not, see <https://www.gnu.org/licenses/>
|
|
//
|
|
|
|
const path = require('path');
|
|
const Dotenv = require('dotenv-webpack');
|
|
|
|
const DotenvConfig = new Dotenv({
|
|
path: path.join(__dirname, '../../.env'),
|
|
safe: true,
|
|
expand: true,
|
|
allowEmptyValues: false,
|
|
systemvars: true
|
|
});
|
|
|
|
module.exports = DotenvConfig;
|