Skip to content

Commit

Permalink
Fix: Remove mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
sandypockets committed Dec 16, 2023
1 parent 1f60c8d commit cf3ab17
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 11 deletions.
1 change: 0 additions & 1 deletion dist/index.esm.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion dist/index.esm.js.map

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "epic-remark",
"version": "0.1.2",
"version": "0.1.3",
"description": "Epic Remark is an all-in-one markdown to HTML processor built on top of remark",
"main": "dist/index.esm.js",
"module": "dist/index.js",
Expand Down
16 changes: 8 additions & 8 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@ import postcss from 'rollup-plugin-postcss';
import { terser } from 'rollup-plugin-terser';

export default {
input: 'src/index.js', // Your entry point
input: 'src/index.js',
output: {
file: 'dist/index.esm.js',
format: 'esm', // ES Module format
sourcemap: true,
format: 'esm',
sourcemap: false,
},
plugins: [
resolve(), // Resolves node modules
commonjs(), // Converts CommonJS modules to ES6
resolve(),
commonjs(),
postcss({
extract: true, // Extracts CSS to a separate file
minimize: true, // Minifies the CSS
extract: true,
minimize: true,
}),
terser(), // Minifies the bundle
terser(),
],
};

0 comments on commit cf3ab17

Please sign in to comment.