-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: handle multi-byte unicode sequences
- Loading branch information
1 parent
2b35657
commit e0743ba
Showing
6 changed files
with
59 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
require('@mdi/font/css/materialdesignicons.min.css') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
const FontminPlugin = require('../../lib') | ||
|
||
module.exports = { | ||
entry: `${__dirname}/entry-utf32.js`, | ||
output: {filename: 'out.js', path: `${__dirname}/dist`, publicPath: '/test/fixtures/dist/'}, | ||
module: { | ||
rules: [ | ||
{test: /\.(woff|woff2)(\?v=.+)?$/, use: ['file-loader']}, | ||
{test: /\.(svg|ttf|eot|png)(\?v=.+)?$/, use: ['file-loader']}, | ||
{test: /\.css$/, use: ['style-loader', 'css-loader']}, | ||
], | ||
}, | ||
plugins: [new FontminPlugin()], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters