Skip to content

Commit 8a06c7b

Browse files
committed
example: fix style
1 parent 5ef34c6 commit 8a06c7b

File tree

3 files changed

+1
-35
lines changed

3 files changed

+1
-35
lines changed

examples/with-styletron/pages/_document.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export default class MyDocument extends Document {
1616
<title>My page</title>
1717
{this.props.stylesheets.map((sheet, i) => (
1818
<style
19-
className="_styletron_hydrate_"
19+
className='_styletron_hydrate_'
2020
dangerouslySetInnerHTML={{ __html: sheet.css }}
2121
media={sheet.media || ''}
2222
key={i}

server/build/plugins/watch-remove-event-plugin.js

-32
This file was deleted.

server/build/webpack.js

-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import FriendlyErrorsWebpackPlugin from 'friendly-errors-webpack-plugin'
88
import CaseSensitivePathPlugin from 'case-sensitive-paths-webpack-plugin'
99
import UnlinkFilePlugin from './plugins/unlink-file-plugin'
1010
import WatchPagesPlugin from './plugins/watch-pages-plugin'
11-
import WatchRemoveEventPlugin from './plugins/watch-remove-event-plugin'
1211
import JsonPagesPlugin from './plugins/json-pages-plugin'
1312
import getConfig from '../config'
1413

@@ -87,7 +86,6 @@ export default async function createCompiler (dir, { dev = false, quiet = false
8786
new webpack.HotModuleReplacementPlugin(),
8887
new webpack.NoEmitOnErrorsPlugin(),
8988
new UnlinkFilePlugin(),
90-
new WatchRemoveEventPlugin(),
9189
new WatchPagesPlugin(dir)
9290
)
9391
if (!quiet) {

0 commit comments

Comments
 (0)