dfreeman / ember-cli-node-assets

Include stylesheets, images and other assets in your Ember app from node modules
MIT License
62 stars 6 forks source link

Vendor imports do not work #9

Closed lone-cloud closed 7 years ago

lone-cloud commented 7 years ago

I'm trying to import "cropperjs": "1.0.0-beta.1". I'm on all the latest stable versions of ember and its dependencies ( 2.11.0 ). cropperjs directory structure is: cropperjs ---| src --| __css --| __cropper.css __images --| _____bg.png

My ember-cli-node-assets config is:

   nodeAssets: {
      cropperjs: {
        srcDir: 'src',
        import: ['css/cropper.css'],
        public: {
          destDir: 'images',
          include: ['images/bg.png']
        }
      }
    }
Error: ENOENT: no such file or directory, open '.../tmp/simple_concat-input_base_path-XY4cqkLx.tmp/vendor/cropperjs/cropper.css'
lone-cloud commented 7 years ago

My mistake