From a5711f6af1706da955ad23d79b6690f3296ffebf Mon Sep 17 00:00:00 2001 From: Rahul Kadyan Date: Tue, 5 Feb 2019 10:15:41 +0530 Subject: [PATCH] feat: Add data option to allow prepending style block content Related #93 --- docs/options.md | 32 +++++++++++++----- package.json | 1 + src/index.ts | 71 ++++++++++++++++++++++++++++++++++++--- test/options/data.spec.ts | 43 ++++++++++++++++++++++++ yarn.lock | 9 ++++- 5 files changed, 141 insertions(+), 15 deletions(-) create mode 100644 test/options/data.spec.ts diff --git a/docs/options.md b/docs/options.md index d3b8761..2ff0000 100644 --- a/docs/options.md +++ b/docs/options.md @@ -29,19 +29,26 @@ e.g.: `defaultLang: { script: 'ts' }` would set default `