new
new copied to clipboard
TODO: decide a simple default approach for handling assets
Just keeping a note for some common tasks that are not already handled by the skeleton
- For application, probably we can use copy plugin, Aurelia logo image, and an image element with absolute path pointing to it.
- For plugin, I'm not sure
Thoughts? @3cp
so
rules: [
{ test: /\.css$/i, use: ['style-loader', cssLoader, postcssLoader] },
{ test: /\.scss$/i, use: ['style-loader', cssLoader, postcssLoader, sassLoader] },
{ test: /\.ts$/i, use: ['ts-loader'], exclude: /node_modules/ },
{
test: /[/\\]src[/\\].+\.html$/i, use: {
loader: '@aurelia/webpack-loader',
options: {
sources: true,
}
}, exclude: /node_modules/,
}
]
is all we need now but our loader for HTML does not work properly.