diff options
| author | Tim Keller <tjk@tjkeller.xyz> | 2025-06-13 13:42:21 -0500 |
|---|---|---|
| committer | Tim Keller <tjk@tjkeller.xyz> | 2025-06-13 13:42:21 -0500 |
| commit | b4d0b0293812afba9637c7e636bfa51366a030f7 (patch) | |
| tree | 93b9e2d5ce841b76f5c41741a8ebca4a745571b0 | |
| parent | 4154e0cc1744996788b6727cd2ef4a0d3a42095e (diff) | |
| download | material-svg-atlas-plugin-webpack-b4d0b0293812afba9637c7e636bfa51366a030f7.tar.xz material-svg-atlas-plugin-webpack-b4d0b0293812afba9637c7e636bfa51366a030f7.zip | |
cleanup package and fix bug from not importing fs/path in utils
| -rw-r--r-- | package.json | 2 | ||||
| -rw-r--r-- | src/atlas-plugin.js (renamed from atlas-plugin.js) | 0 | ||||
| -rw-r--r-- | src/index.js (renamed from index.js) | 0 | ||||
| -rw-r--r-- | src/material-symbols-plugin.js (renamed from material-symbols-plugin.js) | 0 | ||||
| -rw-r--r-- | src/utils.js (renamed from utils.js) | 2 |
5 files changed, 3 insertions, 1 deletions
diff --git a/package.json b/package.json index 3ea235c..6079a4f 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "material-svg-atlas-plugin-webpack", "version": "1.0.0", - "main": "index.js", + "main": "src/index.js", "scripts": { "test": "echo no test" }, diff --git a/atlas-plugin.js b/src/atlas-plugin.js index 69f1174..69f1174 100644 --- a/atlas-plugin.js +++ b/src/atlas-plugin.js diff --git a/material-symbols-plugin.js b/src/material-symbols-plugin.js index 48b1123..48b1123 100644 --- a/material-symbols-plugin.js +++ b/src/material-symbols-plugin.js @@ -1,3 +1,5 @@ +const fs = require("fs") +const path = require("path") const svgSprite = require("svg-sprite") const { optimize } = require("svgo") const { JSDOM } = require("jsdom") |
