{"action":"created","issue":{"url":"https://api.github.com/repos/rollup/rollup/issues/2069","repository_url":"https://api.github.com/repos/rollup/rollup","labels_url":"https://api.github.com/repos/rollup/rollup/issues/2069/labels{/name}","comments_url":"https://api.github.com/repos/rollup/rollup/issues/2069/comments","events_url":"https://api.github.com/repos/rollup/rollup/issues/2069/events","html_url":"https://github.com/rollup/rollup/issues/2069","id":306563746,"number":2069,"title":"--dir --experimentalCodeSplitting --experimentalDynamicImport options broken in 0.57.1","user":{"login":"keanulee","id":1319720,"avatar_url":"https://avatars1.githubusercontent.com/u/1319720?v=4","gravatar_id":"","url":"https://api.github.com/users/keanulee","html_url":"https://github.com/keanulee","followers_url":"https://api.github.com/users/keanulee/followers","following_url":"https://api.github.com/users/keanulee/following{/other_user}","gists_url":"https://api.github.com/users/keanulee/gists{/gist_id}","starred_url":"https://api.github.com/users/keanulee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keanulee/subscriptions","organizations_url":"https://api.github.com/users/keanulee/orgs","repos_url":"https://api.github.com/users/keanulee/repos","events_url":"https://api.github.com/users/keanulee/events{/privacy}","received_events_url":"https://api.github.com/users/keanulee/received_events","type":"User","site_admin":false},"labels":[{"id":873532715,"url":"https://api.github.com/repos/rollup/rollup/labels/code%20splitting","name":"code splitting","color":"006b75","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-19T17:41:15Z","updated_at":"2018-03-21T05:18:23Z","closed_at":null,"author_association":"NONE","body":"When using the [experimental code splitting](https://rollupjs.org/guide/en#experimental-code-splitting) feature, the CLI seems to ignore the `--dir=some/output/dir --experimentalCodeSplitting --experimentalDynamicImport` options and output the entrypoint to stdout (with `import('./some/path.js')` statements replaced with `Promise.resolve()`). This feature was working in 0.56.5.\r\n\r\n[Repro](https://rollupjs.org/repl?version=0.57.1&shareable=JTdCJTIybW9kdWxlcyUyMiUzQSU1QiU3QiUyMm5hbWUlMjIlM0ElMjJtYWluLmpzJTIyJTJDJTI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WQlMjIlM0ElN0IlMjJpZCUyMiUzQSUyMiUyMiU3RCU3RCUyQyUyMmV4YW1wbGUlMjIlM0FudWxsJTdE)\r\n"},"comment":{"url":"https://api.github.com/repos/rollup/rollup/issues/comments/374836186","html_url":"https://github.com/rollup/rollup/issues/2069#issuecomment-374836186","issue_url":"https://api.github.com/repos/rollup/rollup/issues/2069","id":374836186,"user":{"login":"lukastaegert","id":12949268,"avatar_url":"https://avatars2.githubusercontent.com/u/12949268?v=4","gravatar_id":"","url":"https://api.github.com/users/lukastaegert","html_url":"https://github.com/lukastaegert","followers_url":"https://api.github.com/users/lukastaegert/followers","following_url":"https://api.github.com/users/lukastaegert/following{/other_user}","gists_url":"https://api.github.com/users/lukastaegert/gists{/gist_id}","starred_url":"https://api.github.com/users/lukastaegert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukastaegert/subscriptions","organizations_url":"https://api.github.com/users/lukastaegert/orgs","repos_url":"https://api.github.com/users/lukastaegert/repos","events_url":"https://api.github.com/users/lukastaegert/events{/privacy}","received_events_url":"https://api.github.com/users/lukastaegert/received_events","type":"User","site_admin":false},"created_at":"2018-03-21T05:18:23Z","updated_at":"2018-03-21T05:18:23Z","author_association":"CONTRIBUTOR","body":"> This feature was working in 0.56.5\r\n\r\nThis may or may not reflect the fact that in the config file API for code-splitting to be used, `input` has to be an array (even if it only has a single entry). Which in turn is necessary for dynamic imports to not be inlined. I guess we need to rethink how this feature is triggered if we want to make it \"always on\" at some point."}}
{"actor":{"display_login":"lukastaegert"}}