{"action":"opened","issue":{"url":"https://api.github.com/repos/nuxt-community/apollo-module/issues/141","repository_url":"https://api.github.com/repos/nuxt-community/apollo-module","labels_url":"https://api.github.com/repos/nuxt-community/apollo-module/issues/141/labels{/name}","comments_url":"https://api.github.com/repos/nuxt-community/apollo-module/issues/141/comments","events_url":"https://api.github.com/repos/nuxt-community/apollo-module/issues/141/events","html_url":"https://github.com/nuxt-community/apollo-module/issues/141","id":347094106,"node_id":"MDU6SXNzdWUzNDcwOTQxMDY=","number":141,"title":"Apollo module brakes compilation of Element UI library when custom scss variables are used","user":{"login":"AndrewBogdanovTSS","id":2766448,"node_id":"MDQ6VXNlcjI3NjY0NDg=","avatar_url":"https://avatars2.githubusercontent.com/u/2766448?v=4","gravatar_id":"","url":"https://api.github.com/users/AndrewBogdanovTSS","html_url":"https://github.com/AndrewBogdanovTSS","followers_url":"https://api.github.com/users/AndrewBogdanovTSS/followers","following_url":"https://api.github.com/users/AndrewBogdanovTSS/following{/other_user}","gists_url":"https://api.github.com/users/AndrewBogdanovTSS/gists{/gist_id}","starred_url":"https://api.github.com/users/AndrewBogdanovTSS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndrewBogdanovTSS/subscriptions","organizations_url":"https://api.github.com/users/AndrewBogdanovTSS/orgs","repos_url":"https://api.github.com/users/AndrewBogdanovTSS/repos","events_url":"https://api.github.com/users/AndrewBogdanovTSS/events{/privacy}","received_events_url":"https://api.github.com/users/AndrewBogdanovTSS/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-02T16:53:17Z","updated_at":"2018-08-02T16:53:17Z","closed_at":null,"author_association":"NONE","body":"### Version\n\n[v4.0.0-rc.1](https://github.com/apollo-module/releases/tag/v4.0.0-rc.1)\n\n### Reproduction link\n\n[https://github.com/AndrewBogdanovTSS/nuxt-apollo-element-ui-test](https://github.com/AndrewBogdanovTSS/nuxt-apollo-element-ui-test)\n\n### Steps to reproduce\n\n- Add Element UI dependency\n- Create an element UI plugin to only include specific components\n- Change theme color by overriding custom scss variables in order to customize default theme\n- Specify $--font-path variable as required https://element.eleme.io/#/en-US/component/custom-theme\n- run the project\n\n\n### What is expected ?\n\nElement UI library is building from its source code due to Nuxt 2 new  transpile property that exists in nuxt config\n\n### What is actually happening?\n\n```\n× error F:\\Projects\\Study\\Nuxt\\nuxt-apollo-element-ui-test\\node_modules\\element-ui\\lib\\theme-chalk\\fonts\\element-icons.woff:1\n  (function (exports, require, module, __filename, __dirname) { wOFF\n  \n  \n  SyntaxError: Invalid or unexpected token\n  at createScript (vm.js:80:10)\n  at Object.runInThisContext (vm.js:139:10)\n  at Module._compile (module.js:616:28)\n  at Object.Module._extensions..js (module.js:663:10)\n  at Module.load (module.js:565:32)\n  at tryModuleLoad (module.js:505:12)\n  at Function.Module._load (module.js:497:3)\n  at Module.require (module.js:596:17)\n  at require (internal/module.js:11:18)\n  at r (F:\\Projects\\Study\\Nuxt\\nuxt-apollo-element-ui-test\\node_modules\\vue-server-renderer\\build.js:8341:16)\n  at Object.element-ui/lib/theme-chalk/fonts/element-icons.woff (server-bundle.js:3165:18)\n  at __webpack_require__ (webpack/bootstrap:25:0)\n  at Object../node_modules/css-loader/index.js?!./node_modules/postcss-loader/lib/index.js?!./node_modules/sass-loader/lib/loader.js?!./assets/scss/\nindex.scss (assets/scss/index.scss:7:0)\n  at __webpack_require__ (webpack/bootstrap:25:0)\n  at Object../assets/scss/index.scss (assets/scss/index.scss?0905:4:0)\n  at __webpack_require__ (webpack/bootstrap:25:0)\n\n```\n\n### Additional comments?\n\nThis error is happening only once apollo module is connected to the project. It seems like nuxt/apollo interfere with the build process in is some way that prevents it from working properly.\ncc: @dohomi \n\n<!--cmty--><!--cmty_prevent_hook-->\n<div align=\"right\"><sub><em>This bug report is available on <a href=\"https://cmty.app/nuxt\">Nuxt</a> community (<a href=\"https://cmty.app/nuxt/apollo-module/issues/c126\">#c126</a>)</em></sub></div>"}}
{"actor":{"display_login":"AndrewBogdanovTSS"}}