Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't work with ember 2.10.0 and ember-cli-postcss 3.1.0 #204

Closed
anehx opened this issue Jan 12, 2017 · 6 comments
Closed

Doesn't work with ember 2.10.0 and ember-cli-postcss 3.1.0 #204

anehx opened this issue Jan 12, 2017 · 6 comments

Comments

@anehx
Copy link

anehx commented Jan 12, 2017

This addon doesn't work anymore with my setup..

Steps to reproduce:

  • npm install -g ember-cli@2.10.0
  • ember new component-css-test
  • cd component-css-test
  • ember install ember-cli-postcss
  • ember install ember-component-css
  • npm install --save-dev postcss-import
// ember-cli-build.js

var app = new EmberApp(defaults, {
    postcssOptions: {
      compile: {
        enabled: true,
        plugins: [
          { module: require('postcss-import') }
        ]
      }
    }
})
/* app/styles/app.css */

@import 'pod-styles.css';

Then when I try to start it, I get a message:

$ ember serve
Livereload server on http://localhost:49152
Serving on http://localhost:4200/

ember-component-css: You have not yet created a component style file.

Build successful - 11498ms.



Slowest Nodes (totalTime => 5% )              | Total (avg)         
----------------------------------------------+---------------------
Babel (16)                                    | 10599ms (662 ms)    

I'd be very happy if you looked into it!

@webark
Copy link
Owner

webark commented Jan 13, 2017

@anehx did you look at some of the solutions described in #178? I think the same thing is going on in that one.

@anehx
Copy link
Author

anehx commented Jan 16, 2017

@webark which solutions exactly are you talking about? Most of the "solutions" in #178 are for addons if I understood correctly..

@anehx
Copy link
Author

anehx commented Jan 16, 2017

I just tried it with ember-cli-sass which worked perfectly..

@webark
Copy link
Owner

webark commented Jan 16, 2017

@anehx ya. The plain css useage is less then ideal.. :/ until the cause of the bug is found, you need to add in the dummy css extension. you can do that using the addon in this comment. #178 (comment)

I updated the readme last night and added this as a note at the bottom of the plain css section. Sorry we don't have a proper fix for this yet.. :/

@webark
Copy link
Owner

webark commented Jan 26, 2017

@anehx this should be fixed by #208

If it isn't, please feel free to reopen. Sorry for the inconvenience.

@webark webark closed this as completed Jan 26, 2017
@webark
Copy link
Owner

webark commented Jan 26, 2017

@anehx 0.2.10 has been released. Feel free to give it a try.

webark added a commit that referenced this issue Nov 2, 2017
# Change Log

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

<a name="0.3.7"></a>
## [0.3.7](v0.3.6...v0.3.7) (2017-11-02)


### Features

* **manifest ordering:** updated broccoli style manifest to now have the order of files in the manifest be sorted first by depth, then by alphanumeric ([fd710bf](fd710bf))



<a name="0.3.6"></a>
## [0.3.6](v0.3.5...v0.3.6) (2017-11-01)



<a name="0.3.5"></a>
## [0.3.5](v0.3.4...v0.3.5) (2017-07-31)


### Bug Fixes

* **component name parsing:** only switching out the word 'component/' if it is what starts the path, not for nest options. This should be revisited with unification Closes [#236](#236) ([54e087e](54e087e))



<a name="0.3.4"></a>
## [0.3.4](v0.3.3...v0.3.4) (2017-06-01)


### Bug Fixes

* **ensure environment:** getting the 'root host', and using a shim if the find host method isn't present, Closes [#231](#231) ([09fa5ec](09fa5ec))



<a name="0.3.3"></a>
## [0.3.3](v0.3.2...v0.3.3) (2017-04-24)



<a name="0.3.2"></a>
## [0.3.2](v0.3.1...v0.3.2) (2017-04-05)


### Bug Fixes

* **style manifest:** updated to new brocoli-style-mainifest properties that are more explicit ([5e848ca](5e848ca))


### Features

* **optimization:** ability to use terse class names to reduce css size ([d53ead8](d53ead8))



<a name="0.3.1"></a>
## [0.3.1](v0.3.0...v0.3.1) (2017-03-30)


### Bug Fixes

* **npm dependencies:** published what was being used to compile multiple differnt css preprocessors into one. closes [#221](#221) ([a060942](a060942))



<a name="0.3.0"></a>
# [0.3.0](v0.2.12...v0.3.0) (2017-02-25)


### Features

* **extensible identifier:** moved the generation of the namespace identifier and if the class should be added to a mixin for easier extensibility ([e3c627b](e3c627b))



<a name="0.2.12"></a>
## [0.2.12](v0.2.11...v0.2.12) (2017-02-24)


### Bug Fixes

* **description:** removed pod specificity ([16eae3b](16eae3b))
* **scss @ rules:** now allowing namespaceing of rules deinfed inside of a scss @ for rule. Fixes [#216](#216) ([6840c5e](6840c5e))



<a name="0.2.11"></a>
## [0.2.11](v0.2.10...v0.2.11) (2017-02-03)


### Bug Fixes

* **documentation:** updated for readabitlity ([d354534](d354534))



<a name="0.2.10"></a>
## [0.2.10](v0.2.9...v0.2.10) (2017-01-26)


### Bug Fixes

* **plain css:** Due to the odd nature of 'glob', you can't have a set of just one item. ([fd0d770](fd0d770)), closes [#178](#178) [#204](#204)



<a name="0.2.9"></a>
## [0.2.9](v0.2.8...v0.2.9) (2017-01-16)


### Bug Fixes

* **nested addons:** no longer switching to the parent app so that addon's specific settings can be used ([849a72d](849a72d))



<a name="0.2.8"></a>
## [0.2.8](v0.2.7...v0.2.8) (2016-12-14)



<a name="0.2.7"></a>
## [0.2.7](v0.2.6...v0.2.7) (2016-12-01)


### Bug Fixes

* **namespacing:** no longer namespacing children of @ rules ([489f23f](489f23f)), closes [#191](#191)



<a name="0.2.6"></a>
## [0.2.6](v0.2.5...v0.2.6) (2016-12-01)


### Bug Fixes

* **ember-2.11:** moving to concatenating and reassigning the classnames in case a classname is already in the array before the init call per [@rwjblue](https://github.com/rwjblue) suggestion ([40113e6](40113e6))



<a name="0.2.5"></a>
## [0.2.5](v0.2.4...v0.2.5) (2016-12-01)


### Bug Fixes

* **ember-2.11:** now not pushing to the frozen classnames property, but reasigning it ([63274c0](63274c0))



<a name="0.2.4"></a>
## [0.2.4](v0.2.3...v0.2.4) (2016-11-22)



<a name="0.2.3"></a>
## [0.2.3](v0.2.2...v0.2.3) (2016-11-15)



<a name="0.2.2"></a>
## [0.2.2](v0.2.1...v0.2.2) (2016-11-05)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants