diff --git a/package.json b/package.json index 1463ed87..596ab12e 100644 --- a/package.json +++ b/package.json @@ -119,7 +119,8 @@ "webpack": "^3.6.0", "webpack-dev-server": "^2.9.1", "webpack-merge": "^4.1.0", - "webpack-postcss-tools": "^1.1.1" + "webpack-postcss-tools": "^1.1.1", + "write-file-webpack-plugin": "^4.2.0" }, "dependencies": { "classnames": "^2.2.5", diff --git a/src/backends/git-gateway/AuthenticationPage.js b/src/backends/git-gateway/AuthenticationPage.js index 820a1354..3bf454d7 100644 --- a/src/backends/git-gateway/AuthenticationPage.js +++ b/src/backends/git-gateway/AuthenticationPage.js @@ -93,7 +93,8 @@ export default class AuthenticationPage extends React.Component { if (window.netlifyIdentity) { return
-
diff --git a/webpack.dev.js b/webpack.dev.js index 3e145fd6..1201287f 100644 --- a/webpack.dev.js +++ b/webpack.dev.js @@ -3,6 +3,7 @@ const path = require('path'); const webpack = require('webpack'); const merge = require('webpack-merge'); const ExtractTextPlugin = require('extract-text-webpack-plugin'); +const WriteFilePlugin = require('write-file-webpack-plugin'); const HOST = 'localhost'; const PORT = '8080'; @@ -47,6 +48,7 @@ module.exports = merge.smart(require('./webpack.base.js'), { filename: '[name].css', disable: true, }), + new WriteFilePlugin(), ], devtool: 'source-map', devServer: { diff --git a/yarn.lock b/yarn.lock index 713a8678..f363d842 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3254,6 +3254,10 @@ fileset@^2.0.2: glob "^7.0.3" minimatch "^3.0.3" +filesize@^3.2.1: + version "3.5.11" + resolved "https://registry.yarnpkg.com/filesize/-/filesize-3.5.11.tgz#1919326749433bb3cf77368bd158caabcc19e9ee" + fill-range@^2.1.0: version "2.2.3" resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-2.2.3.tgz#50b77dfd7e469bc7492470963699fe7a8485a723" @@ -9677,6 +9681,17 @@ write-file-stdout@0.0.2: version "0.0.2" resolved "https://registry.yarnpkg.com/write-file-stdout/-/write-file-stdout-0.0.2.tgz#c252d7c7c5b1b402897630e3453c7bfe690d9ca1" +write-file-webpack-plugin@^4.2.0: + version "4.2.0" + resolved "https://registry.yarnpkg.com/write-file-webpack-plugin/-/write-file-webpack-plugin-4.2.0.tgz#7bd18547eaa0ea0b23992fb1e0322e5431d339ef" + dependencies: + chalk "^1.1.1" + debug "^2.6.8" + filesize "^3.2.1" + lodash "^4.5.1" + mkdirp "^0.5.1" + moment "^2.11.2" + write@^0.2.1: version "0.2.1" resolved "https://registry.yarnpkg.com/write/-/write-0.2.1.tgz#5fc03828e264cea3fe91455476f7a3c566cb0757"