Skip to content

Commit

Permalink
try
Browse files Browse the repository at this point in the history
  • Loading branch information
gusbueno committed Jul 13, 2020
1 parent b12ab8d commit f7b830a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ const { CleanWebpackPlugin } = require('clean-webpack-plugin')
const HtmlWebpackPlugin = require('html-webpack-plugin')
const svgToMiniDataURI = require('mini-svg-data-uri')
const Dotenv = require('dotenv-webpack')
const webpack = require('webpack')

module.exports = {
devtool: 'source-map',
Expand Down Expand Up @@ -53,6 +54,9 @@ module.exports = {
new HtmlWebpackPlugin({
template: './public/index.html'
}),
new Dotenv()
new Dotenv(),
new webpack.DefinePlugin({
'process.env.GITHUB_TOKEN': JSON.stringify(process.env.GITHUB_TOKEN)
})
]
}

0 comments on commit f7b830a

Please sign in to comment.