diff options
author | poeti8 <ezzati.upt@gmail.com> | 2020-01-02 20:05:52 +0300 |
---|---|---|
committer | poeti8 <ezzati.upt@gmail.com> | 2020-01-02 20:05:52 +0300 |
commit | 40bb10ce4ccdf4c3d20c78a955fc7cbe05c6803e (patch) | |
tree | 61cc7f284d9d24640a2d7a0544123406943ace5e /next.config.js | |
parent | 1fdc99fa52200b5cfe3481f6090beb559f135d6c (diff) |
fix: move config to root folder
Diffstat (limited to 'next.config.js')
-rw-r--r-- | next.config.js | 10 |
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; + } +}; |