{"action":"created","issue":{"url":"https://api.github.com/repos/systemjs/systemjs/issues/1063","repository_url":"https://api.github.com/repos/systemjs/systemjs","labels_url":"https://api.github.com/repos/systemjs/systemjs/issues/1063/labels{/name}","comments_url":"https://api.github.com/repos/systemjs/systemjs/issues/1063/comments","events_url":"https://api.github.com/repos/systemjs/systemjs/issues/1063/events","html_url":"https://github.com/systemjs/systemjs/issues/1063","id":129174539,"number":1063,"title":"Problem with dev/prod imports for CSS bundles","user":{"login":"mikhail-eremin","id":3590390,"avatar_url":"https://avatars.githubusercontent.com/u/3590390?v=3","gravatar_id":"","url":"https://api.github.com/users/mikhail-eremin","html_url":"https://github.com/mikhail-eremin","followers_url":"https://api.github.com/users/mikhail-eremin/followers","following_url":"https://api.github.com/users/mikhail-eremin/following{/other_user}","gists_url":"https://api.github.com/users/mikhail-eremin/gists{/gist_id}","starred_url":"https://api.github.com/users/mikhail-eremin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikhail-eremin/subscriptions","organizations_url":"https://api.github.com/users/mikhail-eremin/orgs","repos_url":"https://api.github.com/users/mikhail-eremin/repos","events_url":"https://api.github.com/users/mikhail-eremin/events{/privacy}","received_events_url":"https://api.github.com/users/mikhail-eremin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2016-01-27T15:18:49Z","updated_at":"2016-02-15T15:04:50Z","closed_at":null,"body":"Hi! I don't know if i should better post it to systemjs-builder repository, or to plugin-css, so i just put it here\r\n\r\nI'm trying to use  systemjs-builder+plugin-css and this is that i see:\r\nIn plugin-css documentation, it said, i should use it like **import  './styles.css!'** (i switched to jspm to do that)\r\nAnd then i do it so- build works and everything is nice! BUT only in bundled js file (inline css)\r\nAll the same doesn't work when in dev mode, i got systemjs loader error \r\nError: http://sandbox.loc/styles.css!http://sandbox.loc/jspm_packages/github/systemjs/plugin-css@0.1.20.js detected as register but didn't execute.(…)\r\n\r\nIf i change  **import './styles.css!'** to **System.import(\"./styles.css\")** it works in DEV (loads those css async), but when i'm trying to build that - i see no inlined css in my bundle\r\n\r\nSo the question is - what is the way to use css loader both in DEV and PROD?\r\n\r\nSorry for my English or if i asked for something dumb :)\r\n\r\nP.S. I'm trying to build simple angularjs2 tutorial project (Heroes board)\r\n"},"comment":{"url":"https://api.github.com/repos/systemjs/systemjs/issues/comments/184246076","html_url":"https://github.com/systemjs/systemjs/issues/1063#issuecomment-184246076","issue_url":"https://api.github.com/repos/systemjs/systemjs/issues/1063","id":184246076,"user":{"login":"guybedford","id":598730,"avatar_url":"https://avatars.githubusercontent.com/u/598730?v=3","gravatar_id":"","url":"https://api.github.com/users/guybedford","html_url":"https://github.com/guybedford","followers_url":"https://api.github.com/users/guybedford/followers","following_url":"https://api.github.com/users/guybedford/following{/other_user}","gists_url":"https://api.github.com/users/guybedford/gists{/gist_id}","starred_url":"https://api.github.com/users/guybedford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guybedford/subscriptions","organizations_url":"https://api.github.com/users/guybedford/orgs","repos_url":"https://api.github.com/users/guybedford/repos","events_url":"https://api.github.com/users/guybedford/events{/privacy}","received_events_url":"https://api.github.com/users/guybedford/received_events","type":"User","site_admin":false},"created_at":"2016-02-15T15:04:50Z","updated_at":"2016-02-15T15:04:50Z","body":"@akikoo how are you running the code in Express? Note that for loading SystemJS modules in Node, you should be using `var System = require('systemjs'); System.config(...); System.import('app/main.js').then(...)` sort of style, as the Node module resolution is not compatible with SystemJS's module resolution."}}