A webpack loader for the ion language.
npm install ion-loader --save
Right on the require:
var file = require("ion!./file.ion")
Webpack config (better):
{
module: {
loaders: [
{ test: /\.ion$/, loader: 'ion' }
]
}
}
A webpack loader for the ion language.
npm install ion-loader --save
Right on the require:
var file = require("ion!./file.ion")
Webpack config (better):
{
module: {
loaders: [
{ test: /\.ion$/, loader: 'ion' }
]
}
}