1.0.0-alpha.0 • Published 6 years ago
@webpack-loader/raw v1.0.0-alpha.0
npm i -D @webpack-loader/raw
webpack.config.js
module.exports = {
module: {
rules: [
{
test: /\.txt$/,
use: '@webpack-loader/raw'
}
]
}
}
import txt from './file.txt'
1.0.0-alpha.0
6 years ago