Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
N
next.js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex
next.js
Commits
6bf87b35
Unverified
Commit
6bf87b35
authored
Nov 11, 2019
by
Joe Haddad
Committed by
GitHub
Nov 11, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Check formatting on build (#9375)
parent
b3dbcbb5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
11 deletions
+9
-11
next.config.js
examples/with-react-md/next.config.js
+1
-7
_app.js
examples/with-react-md/pages/_app.js
+5
-0
index.js
examples/with-react-md/pages/index.js
+0
-1
react-md.light_blue-yellow.min.css
...s/with-react-md/public/react-md.light_blue-yellow.min.css
+0
-1
package.json
package.json
+3
-2
No files found.
examples/with-react-md/next.config.js
View file @
6bf87b35
module
.
exports
=
{
module
.
exports
=
{
webpack
:
function
(
config
)
{
experimental
:
{
css
:
true
},
if
(
config
.
resolve
.
alias
)
{
delete
config
.
resolve
.
alias
[
'react'
]
delete
config
.
resolve
.
alias
[
'react-dom'
]
}
return
config
},
}
}
examples/with-react-md/pages/_app.js
0 → 100644
View file @
6bf87b35
import
'react-md/dist/react-md.light_blue-yellow.min.css'
export
default
function
MyApp
({
Component
,
pageProps
})
{
return
<
Component
{...
pageProps
}
/
>
}
examples/with-react-md/pages/index.js
View file @
6bf87b35
...
@@ -73,7 +73,6 @@ export default () => {
...
@@ -73,7 +73,6 @@ export default () => {
return
(
return
(
<
div
>
<
div
>
<
Head
>
<
Head
>
<
link
rel
=
"stylesheet"
href
=
"/react-md.light_blue-yellow.min.css"
/>
<
link
<
link
rel
=
"stylesheet"
rel
=
"stylesheet"
href
=
"https://fonts.googleapis.com/css?family=Roboto:300,400,500"
href
=
"https://fonts.googleapis.com/css?family=Roboto:300,400,500"
...
...
examples/with-react-md/public/react-md.light_blue-yellow.min.css
deleted
100644 → 0
View file @
b3dbcbb5
../
node_modules
/
react-md
/
dist
/
react-md
.light_blue-yellow.min.css
\ No newline at end of file
package.json
View file @
6bf87b35
...
@@ -15,8 +15,9 @@
...
@@ -15,8 +15,9 @@
"git-clean"
:
"git clean -d -x -e node_modules -e packages -f"
,
"git-clean"
:
"git clean -d -x -e node_modules -e packages -f"
,
"test-take2"
:
"yarn git-reset && yarn git-clean && yarn testall"
,
"test-take2"
:
"yarn git-reset && yarn git-clean && yarn testall"
,
"test"
:
"yarn run testall || yarn run test-take2"
,
"test"
:
"yarn run testall || yarn run test-take2"
,
"lint"
:
"lerna run typescript && eslint . --ext js,jsx,ts,tsx"
,
"lint"
:
"lerna run typescript && yarn prettier-check && eslint . --ext js,jsx,ts,tsx"
,
"lint-fix"
:
"eslint . --ext js,jsx,ts,tsx --fix"
,
"lint-fix"
:
"yarn prettier-fix && eslint . --ext js,jsx,ts,tsx --fix"
,
"prettier-check"
:
"prettier --check
\"
**/*.{js,jsx,json,ts,tsx,md,mdx,css,html,yml,yaml,scss,sass}
\"
"
,
"prettier-fix"
:
"prettier --write
\"
**/*.{js,jsx,json,ts,tsx,md,mdx,css,html,yml,yaml,scss,sass}
\"
"
,
"prettier-fix"
:
"prettier --write
\"
**/*.{js,jsx,json,ts,tsx,md,mdx,css,html,yml,yaml,scss,sass}
\"
"
,
"types"
:
"lerna run types --stream"
,
"types"
:
"lerna run types --stream"
,
"typescript"
:
"lerna run typescript"
,
"typescript"
:
"lerna run typescript"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment