"license": "MIT",
"devDependencies": {
"node-libs-browser": "^0.5.2",
- "purescript-webpack-plugin": "^0.1.0",
+ "purescript-webpack-plugin": "^0.1.1",
"purs-loader": "file:../",
"webpack": "^1.12.9"
}
-var Prelude = require('purescript-prelude/src/Prelude.purs');
+var Prelude = require('purescript-prelude/src/Prelude');
-var test = require('./Test.purs');
+var test = require('./Test');
var foo = require('./Foo.purs');
-var baz = require('./Foo/Baz.purs');
+var baz = require('./Foo/Baz');
-var bar = require('./bar');
+var jam = require('./jam');
-console.log(Prelude, test, foo, baz, bar);
+console.log(Prelude, test, foo, baz, jam);
, module: { loaders: [ { test: /\.purs$/
, loader: 'purs-loader'
} ] }
- , resolve: { modulesDirectories: modulesDirectories }
+ , resolve: { modulesDirectories: modulesDirectories, extensions: [ '', '.js', '.purs'] }
, plugins: [ new PurescriptWebpackPlugin({src: src, ffi: ffi}) ]
}
;