You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: UPGRADING.md
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ After you are done you will notice that the install step added various files to
24
24
25
25
The `./bin/dev` file is a shell script that uses [foreman](https://github.com/ddollar/foreman) and `Procfile.dev` to start two processes in a single terminal: `rails s` and `yarn build`. The latter replaces `webpack-dev-server` for bundling and watching for changes in javascript files.
26
26
27
-
**The 'build' attribute added to packages.json**
27
+
**The 'build' attribute added to package.json**
28
28
29
29
This is the command that `yarn build` will use to bundle javascript files.
30
30
@@ -63,7 +63,7 @@ module.exports = {
63
63
}
64
64
```
65
65
66
-
Then open `packages.json` and add this:
66
+
Then open `package.json` and add this:
67
67
```json
68
68
"babel": {
69
69
"presets": [
@@ -72,7 +72,7 @@ Then open `packages.json` and add this:
72
72
}
73
73
```
74
74
75
-
Finally, download [webpackers babel preset](https://github.com/rails/webpacker/blob/master/package/babel/preset.js) file and place it in the same directory as `packages.json` with the name `webpack.babel.js`.
75
+
Finally, download [webpackers babel preset](https://github.com/rails/webpacker/blob/master/package/babel/preset.js) file and place it in the same directory as `package.json` with the name `webpack.babel.js`.
76
76
77
77
**Module resolution**
78
78
@@ -157,7 +157,7 @@ After you are done you will notice that the install step updated some files.
157
157
158
158
Just like the javascript process, this one will bundle and watch for changes in css files.
159
159
160
-
**The 'build:css' attribute added to packages.json**
160
+
**The 'build:css' attribute added to package.json**
161
161
162
162
This is the command `yarn build` will use to bundle css files.
0 commit comments