{"action":"created","issue":{"url":"https://api.github.com/repos/fuse-box/fuse-box/issues/1222","repository_url":"https://api.github.com/repos/fuse-box/fuse-box","labels_url":"https://api.github.com/repos/fuse-box/fuse-box/issues/1222/labels{/name}","comments_url":"https://api.github.com/repos/fuse-box/fuse-box/issues/1222/comments","events_url":"https://api.github.com/repos/fuse-box/fuse-box/issues/1222/events","html_url":"https://github.com/fuse-box/fuse-box/issues/1222","id":317846486,"number":1222,"title":"Glyphicons via node_modules","user":{"login":"pmonty","id":7111292,"avatar_url":"https://avatars2.githubusercontent.com/u/7111292?v=4","gravatar_id":"","url":"https://api.github.com/users/pmonty","html_url":"https://github.com/pmonty","followers_url":"https://api.github.com/users/pmonty/followers","following_url":"https://api.github.com/users/pmonty/following{/other_user}","gists_url":"https://api.github.com/users/pmonty/gists{/gist_id}","starred_url":"https://api.github.com/users/pmonty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmonty/subscriptions","organizations_url":"https://api.github.com/users/pmonty/orgs","repos_url":"https://api.github.com/users/pmonty/repos","events_url":"https://api.github.com/users/pmonty/events{/privacy}","received_events_url":"https://api.github.com/users/pmonty/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":18,"created_at":"2018-04-26T01:31:06Z","updated_at":"2018-05-02T06:56:28Z","closed_at":null,"author_association":"NONE","body":"So have included bootstrap sass from node_modules in my stylesheet:\r\n\r\n```\r\n$icon-font-path: '~bootstrap-sass/assets/fonts/bootstrap/';\r\n@import '~bootstrap-sass/assets/stylesheets/_bootstrap.scss';\r\n@import '~animate.sass/scss/animate.scss';\r\n```\r\n\r\nThe styles are definitely getting bundles but the font files are not.\r\n\r\n[They are included in _glyphicons.scss](https://github.com/twbs/bootstrap-sass/blob/51486a8bd836d32b9f413e911ed83b433ef4ad39/assets/stylesheets/bootstrap/_glyphicons.scss#L14) file in bootstrap-sass and they don't appear in the css-resources folder.\r\n\r\nI also have the following lines in my main scss file\r\n```\r\n// Typography\r\n@font-face {\r\n    font-family: 'MSR100';\r\n    src: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/181511/museosans-rounded-100-webfont.woff2') format('woff2'), url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/181511/museosans-rounded-100-webfont.woff') format('woff');\r\n    font-weight: normal;\r\n    font-style: normal;\r\n}\r\n```\r\n\r\nI believe those ones are working but the ones inside bootstrap-sass don't.\r\n\r\nMy relevant Fuse configuration settings:\r\n\r\n```\r\n[\r\n    SassPlugin({\r\n        importer: true\r\n    }),\r\n    CSSResourcePlugin({ \r\n         dist: 'dist/assets/css-resources',\r\n         macros: {\r\n               icons: `${__dirname}/src/~/wholesalers/${this.wholesaler}/images/icons/`,\r\n               base: `${__dirname}/src/~/wholesalers/base/images`\r\n         },\r\n         resolve: (f) => `/assets/css-resources/${f}`\r\n      }),\r\n      CSSModules({ scopedName: '[local]'}),\r\n      CSSPlugin(this.cssOptions)\r\n],\r\n```\r\n\r\nThought it might have been my CopyPlugin so added the woff, ttf, eot and svg file types to that but didn't work."},"comment":{"url":"https://api.github.com/repos/fuse-box/fuse-box/issues/comments/385882042","html_url":"https://github.com/fuse-box/fuse-box/issues/1222#issuecomment-385882042","issue_url":"https://api.github.com/repos/fuse-box/fuse-box/issues/1222","id":385882042,"user":{"login":"nchanged","id":1629088,"avatar_url":"https://avatars1.githubusercontent.com/u/1629088?v=4","gravatar_id":"","url":"https://api.github.com/users/nchanged","html_url":"https://github.com/nchanged","followers_url":"https://api.github.com/users/nchanged/followers","following_url":"https://api.github.com/users/nchanged/following{/other_user}","gists_url":"https://api.github.com/users/nchanged/gists{/gist_id}","starred_url":"https://api.github.com/users/nchanged/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nchanged/subscriptions","organizations_url":"https://api.github.com/users/nchanged/orgs","repos_url":"https://api.github.com/users/nchanged/repos","events_url":"https://api.github.com/users/nchanged/events{/privacy}","received_events_url":"https://api.github.com/users/nchanged/received_events","type":"User","site_admin":false},"created_at":"2018-05-02T06:56:28Z","updated_at":"2018-05-02T06:56:28Z","author_association":"CONTRIBUTOR","body":"Do you have ` [CSSResourcePlugin({ inline: true }), CSSPlugin()]` that one on your plugin chain?"}}
{"actor":{"display_login":"nchanged"}}