Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TODO: decide a simple default approach for handling assets #65

Open
bigopon opened this issue Aug 31, 2021 · 1 comment
Open

TODO: decide a simple default approach for handling assets #65

bigopon opened this issue Aug 31, 2021 · 1 comment

Comments

@bigopon
Copy link
Member

bigopon commented Aug 31, 2021

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

@brandonseydel
Copy link
Member

brandonseydel commented Aug 31, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants