Skip to content
This repository was archived by the owner on Aug 5, 2020. It is now read-only.
This repository was archived by the owner on Aug 5, 2020. It is now read-only.

[1.0.0-rc.3] Unexpected token in bootstrap 4 CSS #734

@marcdel

Description

@marcdel

Bug

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)

Expected Result

CSS is minified without error.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions