{"action":"closed","issue":{"url":"https://api.github.com/repos/fuse-box/fuse-box/issues/694","repository_url":"https://api.github.com/repos/fuse-box/fuse-box","labels_url":"https://api.github.com/repos/fuse-box/fuse-box/issues/694/labels{/name}","comments_url":"https://api.github.com/repos/fuse-box/fuse-box/issues/694/comments","events_url":"https://api.github.com/repos/fuse-box/fuse-box/issues/694/events","html_url":"https://github.com/fuse-box/fuse-box/issues/694","id":246606644,"number":694,"title":"ionicons - CSSResourcePlugin doesn't generate any resource","user":{"login":"jezikk","id":7671531,"avatar_url":"https://avatars1.githubusercontent.com/u/7671531?v=4","gravatar_id":"","url":"https://api.github.com/users/jezikk","html_url":"https://github.com/jezikk","followers_url":"https://api.github.com/users/jezikk/followers","following_url":"https://api.github.com/users/jezikk/following{/other_user}","gists_url":"https://api.github.com/users/jezikk/gists{/gist_id}","starred_url":"https://api.github.com/users/jezikk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jezikk/subscriptions","organizations_url":"https://api.github.com/users/jezikk/orgs","repos_url":"https://api.github.com/users/jezikk/repos","events_url":"https://api.github.com/users/jezikk/events{/privacy}","received_events_url":"https://api.github.com/users/jezikk/received_events","type":"User","site_admin":false},"labels":[{"id":507187716,"url":"https://api.github.com/repos/fuse-box/fuse-box/labels/discussion","name":"discussion","color":"fef2c0","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-07-30T20:24:29Z","updated_at":"2017-08-16T10:05:46Z","closed_at":"2017-08-16T10:05:46Z","body":"CSSResourcePlugin doesn't generate any resources for ionicons package. The resource folder is created, but it's empty. Ionicons package is installed using npm and it is imported using SASS.\r\n\r\nThe following errors are displayed in the browser console:\r\n`GET http://localhost:3000/assets/css/assets/resources/_320671712.gif 404 (Not Found)`\r\n`GET http://localhost:3000/assets/css/assets/resources/618794844.woff `\r\n`GET http://localhost:3000/assets/css/assets/resources/1405431714.ttf `\r\n\r\nfuse.js:\r\n```\r\nconst fuse = FuseBox.init({\r\n    homeDir: 'src/',\r\n    output: 'static/$name.js',\r\n    target: 'browser',\r\n    plugins: [\r\n        [\r\n            SassPlugin({ importer: true }),\r\n            CSSResourcePlugin({\r\n                dist: 'static/assets/resources',\r\n                resolve: f => `assets/resources/${f}`\r\n            }),\r\n            CSSPlugin({\r\n                group: 'bundle.css',\r\n                outFile: `static/assets/css/bundle.css`\r\n            })\r\n        ]\r\n    ],\r\n    shim: {\r\n        jquery: {\r\n            source: 'node_modules/jquery/dist/jquery.js',\r\n            exports: '$'\r\n        },\r\n        tether: {\r\n            source: 'node_modules/tether/dist/js/tether.js',\r\n            exports: 'Tether'\r\n        }\r\n    }\r\n});\r\n\r\nfuse.dev({ httpServer: true, hmr: true, port: 3000 });\r\n\r\nfuse.bundle('assets/js/bundle').instructions('>index.ts').watch().hmr();\r\n\r\nfuse.run();\r\n```\r\n\r\nThe whole project is available here:\r\n[https://github.com/jezikk/fuse-box-test](url)"}}
{"actor":{"display_login":"nchanged"}}