Skip to content

Instantly share code, notes, and snippets.

@dclarke-modus
Last active October 26, 2017 13:29
Show Gist options
  • Save dclarke-modus/d6b9982bd7a98829a9adf88e590b4bbd to your computer and use it in GitHub Desktop.
Save dclarke-modus/d6b9982bd7a98829a9adf88e590b4bbd to your computer and use it in GitHub Desktop.
ERROR in /home/vagrant/Projects/com_oauth_manager/media/com_oauth_manager/sass/layout/_layout.sass
Module parse failed: /home/vagrant/Projects/com_oauth_manager/media/com_oauth_manager/sass/layout/_layout.sass Unexpected character '@' (1:0)
You may need an appropriate loader to handle this file type.
| @import "bourbon/bourbon";
| @import "base/base";
|
@ ./app/component/App.js 5:0-47
@ ./app/index.js
// WEBPACK.CONFIG.JS
const ExtractTextPlugin = require("extract-text-webpack-plugin");
module.exports = {
entry : __dirname + '/app/index.js',
module : {
loaders: [
{
test: /\.js$/,
exclude: /node_modules/,
loader: 'babel-loader'
},
{
test: /\.css$/,
loader: "style-loader!css-loader"
}
]
},
output: {
filename : 'bundled.js',
path : __dirname + '/build'
},
watch: true,
watchOptions: {
aggregateTimeout: 300,
poll: 200
},
plugins: [
new ExtractTextPlugin("styles.css")
]
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment