Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/thedevs-network/kutt.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpoeti8 <ezzati.upt@gmail.com>2020-01-02 20:05:52 +0300
committerpoeti8 <ezzati.upt@gmail.com>2020-01-02 20:05:52 +0300
commit40bb10ce4ccdf4c3d20c78a955fc7cbe05c6803e (patch)
tree61cc7f284d9d24640a2d7a0544123406943ace5e /next.config.js
parent1fdc99fa52200b5cfe3481f6090beb559f135d6c (diff)
fix: move config to root folder
Diffstat (limited to 'next.config.js')
-rw-r--r--next.config.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/next.config.js b/next.config.js
new file mode 100644
index 0000000..9b0aae5
--- /dev/null
+++ b/next.config.js
@@ -0,0 +1,10 @@
+const { parsed: localEnv } = require("dotenv").config();
+const webpack = require("webpack");
+
+module.exports = {
+ webpack(config) {
+ config.plugins.push(new webpack.EnvironmentPlugin(localEnv));
+
+ return config;
+ }
+};