Fix Rails Integration docs: Missing module export statement (#263)

Thanks for this great library @claviska! 

Tried adding Shoelace to a Rails app w/ the current guide. When starting the Webpack Dev Server, the following error gets thrown:

```
.../RailsApplication/config/webpack/development.js:5
module.exports = environment.toWebpackConfig()
```
Adding `module.exports = environment` as done [here in the example repo](4114da0e14/config/webpack/environment.js (L20)) fixes the issue and allows Webpack to compile.
This commit is contained in:
Thomas Klemm
2020-11-05 15:14:25 +02:00
committed by GitHub
parent 73dddc42db
commit 688802b792

View File

@@ -69,6 +69,8 @@ environment.plugins.append(
]
})
)
module.exports = environment
```
### Adding Pack Tags