Skip to content

Commit

Permalink
❎ SAVE: Try as given the issue
Browse files Browse the repository at this point in the history
  • Loading branch information
kumarabhirup committed May 13, 2019
1 parent 8709a3c commit d2bf93e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
require('dotenv').config()
const withCSS = require('@zeit/next-css');
const withSass = require('@zeit/next-sass')
const { parsed: localEnv } = require('dotenv').config()
const webpack = require('webpack')

module.exports = withSass({
webpack(config) {
config.plugins.push(new webpack.EnvironmentPlugin(localEnv))
config.plugins.push(
new webpack.ProvidePlugin({
'$': 'jquery',
'jQuery': 'jquery',
})
)
return config
},
env: {
'PROD_DOMAIN': process.env.PROD_DOMAIN
}
})

0 comments on commit d2bf93e

Please sign in to comment.