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
{{ message }}
This repository was archived by the owner on Aug 5, 2020. It is now read-only.
After adding bootstrap 4.0.0-alpha.6 gluestick throws a syntax error building CSS.
Reproduction Steps
gluestick --version
1.0.0-rc.3
gluestick new gs-bs4
cd gs-bs4 && yarn add bootstrap@4.0.0-alpha.6 --save
add import "bootstrap/dist/css/bootstrap.css"; to src/config/application.js
gluestick start
Current Result
Starting to optimize CSS...
[GlueStick][start-server] Building server entry.
/Users/mdelagrammatikas/Code/gs-bs4/node_modules/bootstrap/dist/css/bootstrap.css:8
html {
^
SyntaxError: Unexpected token {
at Object.exports.runInThisContext (vm.js:78:16)
at Module._compile (module.js:543:28)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/Users/mdelagrammatikas/Code/gs-bs4/build/server/renderer.js:1938:18)
at __webpack_require__ (/Users/mdelagrammatikas/Code/gs-bs4/build/server/renderer.js:21:30)
Bug
After adding bootstrap 4.0.0-alpha.6 gluestick throws a syntax error building CSS.
Reproduction Steps
gluestick new gs-bs4cd gs-bs4 && yarn add bootstrap@4.0.0-alpha.6 --saveimport "bootstrap/dist/css/bootstrap.css";tosrc/config/application.jsgluestick startCurrent Result
Expected Result
CSS is minified without error.