We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0408315 commit 2ddf5e2Copy full SHA for 2ddf5e2
src/index.js
@@ -4,3 +4,6 @@ import * as parsers from './parsers';
4
5
export default objToString;
6
export { parsers, createParser };
7
+module.exports = objToString;
8
+module.exports.createParser = createParser;
9
+module.exports.parsers = { ...parsers };
utils/build-utils/webpack.development.js
@@ -4,7 +4,7 @@ module.exports = env => ({
devtool: 'cheap-eval-source-map',
output: {
filename: 'index.umd.js',
- library: 'styleObjToStr',
+ library: 'styleToCss',
libraryTarget: 'umd',
},
10
});
utils/build-utils/webpack.production.js
@@ -2,5 +2,7 @@
2
module.exports = env => ({
3
filename: 'index.min.js',
+ libraryTarget: 'umd',
0 commit comments