Skip to content
This repository was archived by the owner on Sep 22, 2024. It is now read-only.
This repository was archived by the owner on Sep 22, 2024. It is now read-only.

Webpack import? #1

Description

@jamiefolsom

Giving node-refills a try in an application build with webpack, but imports don't appear to work.

in webpack.config.js

var NodeRefills = require("node-refills");

module.exports = {
  module: {
    loaders: [
      {
        test: /\.scss$/,
        exclude: /node_modules/,
        loader: 'style!css!sass'
      }
    ]
  },

  sassLoader: {
    includePaths: NodeRefills.includePaths
  },
}

Doing the same thing with node-neat, I can import those assets like this:

in layout.scss

@import "bourbon";
@import "neat";

Any hints? Thanks!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions