Skip to content

Commit 165f59f

Browse files
committed
Remove unused CSS
1 parent e74c308 commit 165f59f

File tree

5 files changed

+25
-194
lines changed

5 files changed

+25
-194
lines changed

css/ipycanvas.css

Lines changed: 0 additions & 5 deletions
This file was deleted.

package-lock.json

Lines changed: 22 additions & 180 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@
1010
],
1111
"files": [
1212
"lib/**/*.js",
13-
"dist/*.js",
14-
"css/*.css"
13+
"dist/*.js"
1514
],
1615
"homepage": "https://github.com/martinRenou/ipycanvas",
1716
"bugs": {
@@ -45,9 +44,7 @@
4544
},
4645
"dependencies": {
4746
"@jupyter-widgets/base": "^2.0.1",
48-
"css-loader": "^3.2.0",
49-
"lodash": ">=4.17.13",
50-
"style-loader": "^1.0.0"
47+
"lodash": ">=4.17.13"
5148
},
5249
"devDependencies": {
5350
"@phosphor/application": "^1.6.0",

src/widget.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ import {
99
MODULE_NAME, MODULE_VERSION
1010
} from './version';
1111

12-
import '../css/ipycanvas.css'
13-
1412

1513
export
1614
class CanvasModel extends DOMWidgetModel {

webpack.config.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ const version = require('./package.json').version;
44
// Custom webpack rules
55
const rules = [
66
{ test: /\.ts$/, loader: 'ts-loader' },
7-
{ test: /\.js$/, loader: 'source-map-loader' },
8-
{ test: /\.css$/, use: ['style-loader', 'css-loader']},
7+
{ test: /\.js$/, loader: 'source-map-loader' }
98
];
109

1110
// Packages that shouldn't be bundled but loaded at runtime

0 commit comments

Comments
 (0)