Skip to content

Conversation

@r-hannuschka
Copy link
Contributor

@r-hannuschka r-hannuschka commented Jan 21, 2020

Update to version 2.0.0

  • BREAKING_CHANGE: update all packages (ts goes up to 3.7.x)
  • feat: added ts loader to sanitize html imports since the old way not working anymore but so we dont need to change the imports
  • feat: include typings file for html module

HTML Imports

before

import * as template from "text!./my.template.html"

after

import template from "my.template.html"

There is no change in code required since we added a custom loader which sanitize the old imports and rewrites them to the new imports. If you want to use the new imports there is a typings file required, we copy this file from q2g-build into node_modules/@types/q2gb. If this is not working create your own with following content.

declare module "*.html" {
   const html: string;
   export default html;
}

renovate-bot and others added 30 commits May 30, 2019 22:32
Update dependency terser-webpack-plugin to v2
Update dependency raw-loader to v4
Update dependency file-loader to v5
Update dependency less to v3.10.3
Pin dependency @types/node to 10.14.4
Update dependency sass-loader to v7.3.1
Update dependency ajv to v6.11.0
Update dependency css-loader to v3
Update dependency clean-webpack-plugin to v3
Update dependency typescript to v3.7.5
Update dependency webpack-cli to v3.3.10
renovate-bot and others added 24 commits January 21, 2020 12:03
Update dependency ts-loader to v5.4.5
Update dependency @types/node to v10.17.13
rebase! Update dependency less-loader to v5
Update dependency sass-loader to v8
Update dependency webpack to v4.41.5
Update dependency tslint to v5.20.1
Update dependency copy-webpack-plugin to v5.1.1
Update dependency ts-loader to v6
rebase! Update dependency style-loader to v1
BREAKING_CHANGE: update all packages
feat: add ts loader to sanitize html imports
feat: copy typings file to node_modules/@types
Update dependency url-loader to v3
Update dependency @types/webpack to v4.41.3
@thomashaenig thomashaenig merged commit 572a91b into master Jan 22, 2020
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

Successfully merging this pull request may close these issues.

4 participants